mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- UB Improvements / Cleanup (by Jazz)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6334 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2397,10 +2397,10 @@ void SoldierGetItemFromWorld( SOLDIERTYPE *pSoldier, INT32 iItemIndex, INT32 sGr
|
||||
#ifdef JA2UB
|
||||
//JA25 ub
|
||||
//if the item is valid
|
||||
if( usItem != 0 )
|
||||
if( iItemIndex != 0 )
|
||||
{
|
||||
//handle the picking up of a new ja25 gun
|
||||
HandleNewGunComment( pSoldier, usItem, TRUE );
|
||||
HandleNewGunComment( pSoldier, iItemIndex, TRUE );
|
||||
}
|
||||
#endif
|
||||
// Aknowledge....
|
||||
|
||||
Reference in New Issue
Block a user