summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorOleg Kosmakov <kosmakoff@gmail.com>2014-03-21 13:08:36 +0200
committerOleg Kosmakov <kosmakoff@gmail.com>2014-03-21 13:08:36 +0200
commit7485ed790caeaa76efab0e9df48224cf1943ec27 (patch)
tree79fa3c6532bdcfe67967687c6438a60d37ce6dc9 /src/common
parent2cf84ad2148c8f88a1153771b357cc8b3208e38a (diff)
downloadcolobot-7485ed790caeaa76efab0e9df48224cf1943ec27.tar.gz
colobot-7485ed790caeaa76efab0e9df48224cf1943ec27.tar.bz2
colobot-7485ed790caeaa76efab0e9df48224cf1943ec27.zip
Fixes #295
When cannon cannot turn at specified angle, it will still reach the edge angle, but return the error code
Diffstat (limited to 'src/common')
-rw-r--r--src/common/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/global.h b/src/common/global.h
index 5f85ce3..8b72774 100644
--- a/src/common/global.h
+++ b/src/common/global.h
@@ -123,6 +123,7 @@ enum Error
ERR_TOOMANY = 702, //! < too many objects
ERR_OBLIGATORYTOKEN = 800, //! < compulsory instruction missing
ERR_PROHIBITEDTOKEN = 801, //! < instruction prohibited
+ ERR_AIM_IMPOSSIBLE = 900, //! < cannot aim at specified angle(s)
INFO_FIRST = 10000, //! < first information
INFO_BUILD = 10001, //! < construction builded