diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2013-11-26 00:42:46 +0100 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2013-11-26 00:42:46 +0100 |
commit | d6eb095f2760eab42e852aceae61289ad7ba36ee (patch) | |
tree | 3bf29be57a9c47b0ce7427f3dbb9d58cdd258ee5 /src/CBot/CBotFunction.cpp | |
parent | 881802b050dc9957ce681eafd6e255ddadf3a517 (diff) | |
parent | 8c25650ad5e888019f350f099d6755921780c6f1 (diff) | |
download | colobot-d6eb095f2760eab42e852aceae61289ad7ba36ee.tar.gz colobot-d6eb095f2760eab42e852aceae61289ad7ba36ee.tar.bz2 colobot-d6eb095f2760eab42e852aceae61289ad7ba36ee.zip |
Colobot Gold 0.1.2-alpha
Diffstat (limited to 'src/CBot/CBotFunction.cpp')
-rw-r--r-- | src/CBot/CBotFunction.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CBot/CBotFunction.cpp b/src/CBot/CBotFunction.cpp index 862554e..e6aa2c9 100644 --- a/src/CBot/CBotFunction.cpp +++ b/src/CBot/CBotFunction.cpp @@ -20,6 +20,9 @@ #include "CBot.h" +#include <cassert> + + // various constructors / destructors // \TODO translation:to liberate all according to esteblished tree // pour libérer tout selon l'arbre établi @@ -1046,7 +1049,7 @@ bool CBotDefParam::Execute(CBotVar** ppVars, CBotStack* &pj) } break; default: - ASM_TRAP(); + assert(0); } } newvar->SetUniqNum(p->m_nIdent); |