huge weapon-code cleanup (buggy!), pch, demo fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1475 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
//
|
||||
|
||||
|
||||
|
||||
#include "pch.h"
|
||||
#include "cube.h"
|
||||
#include "bot.h"
|
||||
|
||||
#ifdef AC_CUBE
|
||||
@@ -83,8 +84,8 @@ bool CACBot::ChoosePreferredWeapon()
|
||||
SelectGun(bestWeapon);
|
||||
if(!m_pMyEnt->mag[bestWeapon])
|
||||
{
|
||||
reload(m_pMyEnt);
|
||||
m_iShootDelay = lastmillis + reloadtime(bestWeapon) + 10;
|
||||
tryreload(m_pMyEnt);
|
||||
m_iShootDelay = lastmillis + reloadtime(bestWeapon) + 10;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user