quicknadethrow : switch weapon even if player is attacking

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6377 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2011-04-27 19:14:24 +00:00
parent 5ff5a585c8
commit ccd1c5048b
+1 -1
View File
@@ -110,7 +110,7 @@ void quicknadethrow(bool on)
if(player1->state != CS_ALIVE) return;
if(on)
{
if(player1->weapons[GUN_GRENADE]->mag > 0 && !player1->attacking)
if(player1->weapons[GUN_GRENADE]->mag > 0)
{
if(player1->weaponsel->type != GUN_GRENADE) selectweapon(player1->weapons[GUN_GRENADE]);
if(player1->weaponsel->type == GUN_GRENADE || quicknade_hold) { player1->attacking = true; nadeattack = true; }