weapon fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@546 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-11-08 20:29:02 +00:00
parent ee43650523
commit e5d7ba8d0d
+1
View File
@@ -49,6 +49,7 @@ void weaponswitch(int gun)
void weapon(int gun)
{
if(m_nogun && gun!=G_MELEE && gun!=G_GRENADE) return;
if(player1->weaponchanging) return;
setscope(false);
if(NADE_IN_HAND || player1->reloading) return;