mirror of
https://github.com/ENSL/NS.git
synced 2025-01-18 23:41:51 +00:00
o lastinv fix
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@199 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
parent
dae5cc64f9
commit
a65f5b4ab2
1 changed files with 2 additions and 1 deletions
|
@ -288,7 +288,8 @@ void WeaponsResource::SetCurrentWeapon(WEAPON* newWeapon)
|
|||
// && newWeapon != currentWeapon
|
||||
if(newWeapon != NULL )
|
||||
{
|
||||
lastWeapon = currentWeapon;
|
||||
if ( newWeapon != currentWeapon )
|
||||
{ lastWeapon = currentWeapon; }
|
||||
//if ( newWeapon != currentWeapon )
|
||||
ServerCmd(newWeapon->szName);
|
||||
g_weaponselect = newWeapon->iId;
|
||||
|
|
Loading…
Reference in a new issue