diff options
author | krzys-h <krzys_h@interia.pl> | 2013-05-18 18:29:07 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-05-18 18:29:07 +0200 |
commit | 7662f312b399b58faf20db4a850a2b0298d659df (patch) | |
tree | 3c39f02ad76b1d4b661bab7b0204e138fa0c280e /src/script/script.cpp | |
parent | b65196c17f1fb553e2b1a0cada042b47c1459486 (diff) | |
download | colobot-7662f312b399b58faf20db4a850a2b0298d659df.tar.gz colobot-7662f312b399b58faf20db4a850a2b0298d659df.tar.bz2 colobot-7662f312b399b58faf20db4a850a2b0298d659df.zip |
Changed "Inappropariate bot"->"Inappropariate object" in newly added functions
Diffstat (limited to 'src/script/script.cpp')
-rw-r--r-- | src/script/script.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/script.cpp b/src/script/script.cpp index fb9ee93..250f052 100644 --- a/src/script/script.cpp +++ b/src/script/script.cpp @@ -538,7 +538,7 @@ bool CScript::rBusy(CBotVar* thisclass, CBotVar* var, CBotVar* result, int& exce if ( automat != nullptr ) result->SetValInt(automat->GetBusy()); else - exception = ERR_MANIP_VEH; + exception = ERR_WRONG_OBJ; return true; } @@ -571,7 +571,7 @@ bool CScript::rDestroy(CBotVar* thisclass, CBotVar* var, CBotVar* result, int& e { err = automat->StartAction(0); } else - err = ERR_MANIP_VEH; + err = ERR_WRONG_OBJ; if ( err != ERR_OK ) { @@ -728,7 +728,7 @@ bool CScript::rFactory(CBotVar* thisclass, CBotVar* var, CBotVar* result, int& e else err = ERR_BUILD_DISABLED; } else - err = ERR_MANIP_VEH; + err = ERR_WRONG_OBJ; if ( err != ERR_OK ) { |