weird crashes "fix" (still fixme)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6767 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2012-03-11 10:55:20 +00:00
parent 35e310ed1f
commit e542188cd4
3 changed files with 5 additions and 5 deletions
+2 -3
View File
@@ -1619,7 +1619,6 @@ void checkweaponstate()
{
checkweaponswitch();
checkakimbo();
playerent *p = (playerent *) camera1;
if(!p || !p->weaponsel) return;
if(lastmillis - p->weaponsel->reloading > p->weaponsel->info.reloadtime) p->weaponsel->reloading = 0;
// TODO : here we need to check properly that the spectated player weapon has finished to reload...
}