quicknaderelease fixes

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4745 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2009-12-23 19:01:49 +00:00
parent afd318941f
commit 5928b365b7
+2 -2
View File
@@ -97,10 +97,10 @@ void shiftweapon(int s)
void quicknaderelease()
{
if(player1->state == CS_ALIVE && player1->weaponsel->type == GUN_GRENADE)
if(player1->state == CS_ALIVE)
{
attack(false);
selectweapon(player1->prevweaponsel);
if(player1->weaponsel->type == GUN_GRENADE) selectweapon(player1->prevweaponsel);
}
}