summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorkrzys-h <krzys_h@interia.pl>2013-05-18 18:29:07 +0200
committerkrzys-h <krzys_h@interia.pl>2013-05-18 18:29:07 +0200
commit7662f312b399b58faf20db4a850a2b0298d659df (patch)
tree3c39f02ad76b1d4b661bab7b0204e138fa0c280e /src/common
parentb65196c17f1fb553e2b1a0cada042b47c1459486 (diff)
downloadcolobot-7662f312b399b58faf20db4a850a2b0298d659df.tar.gz
colobot-7662f312b399b58faf20db4a850a2b0298d659df.tar.bz2
colobot-7662f312b399b58faf20db4a850a2b0298d659df.zip
Changed "Inappropariate bot"->"Inappropariate object" in newly added functions
Diffstat (limited to 'src/common')
-rw-r--r--src/common/global.h1
-rw-r--r--src/common/restext.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/global.h b/src/common/global.h
index 5e03536..716b711 100644
--- a/src/common/global.h
+++ b/src/common/global.h
@@ -107,6 +107,7 @@ enum Error
ERR_VEH_VIRUS = 400, //! < vehicle infected by a virus
ERR_BAT_VIRUS = 401, //! < building infected by a virus
ERR_DESTROY_NOTFOUND = 410, //! < not found anything to destroy
+ ERR_WRONG_OBJ = 420, //! < inappropriate vehicle
ERR_VEH_POWER = 500, //! < no battery
ERR_VEH_ENERGY = 501, //! < more energy
ERR_FLAG_FLY = 510, //! < impossible in flight
diff --git a/src/common/restext.cpp b/src/common/restext.cpp
index 663a82e..bbec7ec 100644
--- a/src/common/restext.cpp
+++ b/src/common/restext.cpp
@@ -624,6 +624,7 @@ void InitializeRestext()
stringsErr[ERR_FLAG_PROXY] = "Too close to an existing flag";
stringsErr[ERR_FLAG_DELETE] = "No flag nearby";
stringsErr[ERR_DESTROY_NOTFOUND]= "Not found anything to destroy";
+ stringsErr[ERR_WRONG_OBJ] = "Inappropriate object";
stringsErr[ERR_MISSION_NOTERM] = "The mission is not accomplished yet (press \\key help; for more details)";
stringsErr[ERR_DELETEMOBILE] = "Bot destroyed";
stringsErr[ERR_DELETEBUILDING] = "Building destroyed";