GetWeaponPickupCreatePos
#16

Quote:
Originally Posted by EmpireSk
Посмотреть сообщение
And will it work ...? is it instead?
Try it...

Quote:
Originally Posted by J0sh...
Посмотреть сообщение
What's even the point of that macro at all? There's no need for it and heck, its bad practice.
Yeah it's just to make it more readable without having to name the variable, it is optional and useless.

Quote:
Originally Posted by ******
Посмотреть сообщение
Why?
Because in his last switch statement it had:

Код:
default: return 1239;
So I replaced all the invalid weapons slots by that, which are between:

Код:
case 18: return 344;
case 22: return 346;
So 19-20-21 were invalid.
Reply


Messages In This Thread
GetWeaponPickupCreatePos - by EmpireSk - 11.02.2019, 17:47
Re: GetWeaponPickupCreatePos - by EmpireSk - 11.02.2019, 19:00
Re: GetWeaponPickupCreatePos - by EmpireSk - 11.02.2019, 19:10
Re: GetWeaponPickupCreatePos - by Thundey - 11.02.2019, 19:18
Re: GetWeaponPickupCreatePos - by EmpireSk - 11.02.2019, 19:23
Re: GetWeaponPickupCreatePos - by EmpireSk - 12.02.2019, 12:18
Re: GetWeaponPickupCreatePos - by TheToretto - 12.02.2019, 17:46
Re: GetWeaponPickupCreatePos - by ComDuck - 13.02.2019, 10:22
Re: GetWeaponPickupCreatePos - by TheToretto - 13.02.2019, 11:46
Re: GetWeaponPickupCreatePos - by EmpireSk - 13.02.2019, 20:08
Re: GetWeaponPickupCreatePos - by EmpireSk - 15.02.2019, 23:25
Re: GetWeaponPickupCreatePos - by TheToretto - 16.02.2019, 13:21
Re: GetWeaponPickupCreatePos - by EmpireSk - 17.02.2019, 11:35
Re: GetWeaponPickupCreatePos - by J0sh... - 17.02.2019, 11:46
Re: GetWeaponPickupCreatePos - by Y_Less - 17.02.2019, 12:12
Re: GetWeaponPickupCreatePos - by TheToretto - 17.02.2019, 12:48

Forum Jump:


Users browsing this thread: 1 Guest(s)