Re: ArmedObjects having NULL weapons in their weapon list [message #490202 is a reply to message #490201] |
Wed, 31 December 2014 07:49   |
 |
Jerad2142
Messages: 3815 Registered: July 2006 Location: USA
Karma:
|
General (3 Stars) |
|
|
Neijwiert wrote on Wed, 31 December 2014 07:46 | Then why is it called Nod_Turret_MP?
MP = Multiplayer.
Also you could just do Commands->Select_Weapon(obj, NULL); whichs deselects your weapon even if you have one. So there must be some logic for that.
EDIT:
Also there's a function called Deselect in WeaponBagClass.
|
And those functions might just switch to the NULL weapon is all I'm saying.
Either that or your just seeing the end of the list IE:
Weapon1->next = Weapon2
Weapon2->next = NULL
Visit Jerad's deer sweat shop
[Updated on: Wed, 31 December 2014 07:50] Report message to a moderator
|
|
|