Update src/script/script.cpp

dev-ui
PaweX 2013-02-13 14:04:24 +01:00
parent bcd06bd0e8
commit 4128383ee1
1 changed files with 1 additions and 1 deletions
src/script

View File

@ -2188,7 +2188,7 @@ bool CScript::rFire(CBotVar* var, CBotVar* result, int& exception, void* user)
// Compilation of the instruction "aim(x, y)".
CBotTypResult cAim(CBotVar* &var, void* user)
CBotTypResult CScript::cAim(CBotVar* &var, void* user)
{
if ( var == 0 ) return CBotTypResult(CBotErrLowParam);
if ( var->GetType() > CBotTypDouble ) return CBotTypResult(CBotErrBadNum);