Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] How exactly does it not work?

[DiscordArchive] How exactly does it not work?

[DiscordArchive] How exactly does it not work?

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
11-15-2021, 09:34 AM
#11
Archived author: Thanathros • Posted: 2021-11-15T09:34:40.354000+00:00
Original source

But I havent touched C++ in a while now so most likely wrong LOL.
rektbyfaith
11-15-2021, 09:34 AM #11

Archived author: Thanathros • Posted: 2021-11-15T09:34:40.354000+00:00
Original source

But I havent touched C++ in a while now so most likely wrong LOL.

rektbyfaith
Administrator
0
11-15-2021, 09:34 AM
#12
Archived author: Thanathros • Posted: 2021-11-15T09:34:50.181000+00:00
Original source

Oh well
rektbyfaith
11-15-2021, 09:34 AM #12

Archived author: Thanathros • Posted: 2021-11-15T09:34:50.181000+00:00
Original source

Oh well

rektbyfaith
Administrator
0
11-15-2021, 09:35 AM
#13
Archived author: セーラム • Posted: 2021-11-15T09:35:08.381000+00:00
Original source

btw, it was error to this syntax
rektbyfaith
11-15-2021, 09:35 AM #13

Archived author: セーラム • Posted: 2021-11-15T09:35:08.381000+00:00
Original source

btw, it was error to this syntax

rektbyfaith
Administrator
0
11-15-2021, 09:38 AM
#14
Archived author: Thanathros • Posted: 2021-11-15T09:38:47.555000+00:00
Original source

Ah I actually wasnt entirely wrong. Knew I faintly remember.

If the function doesn't use the argument, you can avoid warnings about unused arguments that way.
rektbyfaith
11-15-2021, 09:38 AM #14

Archived author: Thanathros • Posted: 2021-11-15T09:38:47.555000+00:00
Original source

Ah I actually wasnt entirely wrong. Knew I faintly remember.

If the function doesn't use the argument, you can avoid warnings about unused arguments that way.

rektbyfaith
Administrator
0
11-15-2021, 09:42 AM
#15
Archived author: Thanathros • Posted: 2021-11-15T09:42:12.178000+00:00
Original source

Spares you some temporary refactor shenanigans :^)
rektbyfaith
11-15-2021, 09:42 AM #15

Archived author: Thanathros • Posted: 2021-11-15T09:42:12.178000+00:00
Original source

Spares you some temporary refactor shenanigans :^)

rektbyfaith
Administrator
0
11-15-2021, 09:42 AM
#16
Archived author: セーラム • Posted: 2021-11-15T09:42:38.392000+00:00
Original source

hehe
rektbyfaith
11-15-2021, 09:42 AM #16

Archived author: セーラム • Posted: 2021-11-15T09:42:38.392000+00:00
Original source

hehe

rektbyfaith
Administrator
0
11-15-2021, 09:43 AM
#17
Archived author: Thanathros • Posted: 2021-11-15T09:43:11.888000+00:00
Original source

But yeah, the code I copied *should* work.
rektbyfaith
11-15-2021, 09:43 AM #17

Archived author: Thanathros • Posted: 2021-11-15T09:43:11.888000+00:00
Original source

But yeah, the code I copied *should* work.

rektbyfaith
Administrator
0
11-15-2021, 09:43 AM
#18
Archived author: Thanathros • Posted: 2021-11-15T09:43:21.564000+00:00
Original source

If not, provide error.
rektbyfaith
11-15-2021, 09:43 AM #18

Archived author: Thanathros • Posted: 2021-11-15T09:43:21.564000+00:00
Original source

If not, provide error.

rektbyfaith
Administrator
0
11-15-2021, 09:43 AM
#19
Archived author: セーラム • Posted: 2021-11-15T09:43:35.225000+00:00
Original source

I have changed it to this float Unit::CalculateSpellpowerCoefficientLevelPenalty(SpellInfo const* spellInfo) const
{
if (!spellInfo->MaxLevel || GetLevel() < spellInfo->MaxLevel)
return 1.0f;
return 1.0f;
}
rektbyfaith
11-15-2021, 09:43 AM #19

Archived author: セーラム • Posted: 2021-11-15T09:43:35.225000+00:00
Original source

I have changed it to this float Unit::CalculateSpellpowerCoefficientLevelPenalty(SpellInfo const* spellInfo) const
{
if (!spellInfo->MaxLevel || GetLevel() < spellInfo->MaxLevel)
return 1.0f;
return 1.0f;
}

rektbyfaith
Administrator
0
11-15-2021, 09:43 AM
#20
Archived author: セーラム • Posted: 2021-11-15T09:43:42.825000+00:00
Original source

and seems not give any errors or warrning druing compile
rektbyfaith
11-15-2021, 09:43 AM #20

Archived author: セーラム • Posted: 2021-11-15T09:43:42.825000+00:00
Original source

and seems not give any errors or warrning druing compile

Pages (5): Previous 1 2 3 4 5 Next
Recently Browsing
 
Recently Browsing