From aab79c6b5dc33f2a0f88b42a5308e79aeeb92b2c Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Mon, 25 Nov 2013 20:03:06 +0100 Subject: Changed ASM_TRAP() to assert(0) --- src/CBot/CBotTwoOpExpr.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/CBot/CBotTwoOpExpr.cpp') diff --git a/src/CBot/CBotTwoOpExpr.cpp b/src/CBot/CBotTwoOpExpr.cpp index 6a0d636..4d4add8 100644 --- a/src/CBot/CBotTwoOpExpr.cpp +++ b/src/CBot/CBotTwoOpExpr.cpp @@ -20,6 +20,8 @@ #include "CBot.h" +#include + // various constructors CBotTwoOpExpr::CBotTwoOpExpr() @@ -466,7 +468,7 @@ bool CBotTwoOpExpr::Execute(CBotStack* &pStack) if ( !IsNan(left, right, &err) ) result->SL(left , right); break; default: - ASM_TRAP(); + assert(0); } delete temp; -- cgit v1.2.3-1-g7c22