diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-04-15 00:50:13 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-04-15 00:50:13 +0200 |
commit | 011d86ed668cbbff5c7bfc5f7e88086acb849921 (patch) | |
tree | a47f2a0d1f61f33455c5b53f9ef63741ca9b35d8 /src/CBot/CBotTwoOpExpr.cpp | |
parent | a0303105b616331778b61db06f9012f5c8970609 (diff) | |
download | colobot-011d86ed668cbbff5c7bfc5f7e88086acb849921.tar.gz colobot-011d86ed668cbbff5c7bfc5f7e88086acb849921.tar.bz2 colobot-011d86ed668cbbff5c7bfc5f7e88086acb849921.zip |
Pulled changes from test mingw branch
* include fixes
* syntax fixes for MinGW
* fixed encoding of restext.cpp
* temporary fix for MinGW in joystick.cpp
Successfully compiles under MinGW :)
Diffstat (limited to 'src/CBot/CBotTwoOpExpr.cpp')
-rw-r--r-- | src/CBot/CBotTwoOpExpr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CBot/CBotTwoOpExpr.cpp b/src/CBot/CBotTwoOpExpr.cpp index 8594787..d8f4ee7 100644 --- a/src/CBot/CBotTwoOpExpr.cpp +++ b/src/CBot/CBotTwoOpExpr.cpp @@ -464,7 +464,7 @@ BOOL CBotTwoOpExpr::Execute(CBotStack* &pStack) if ( !IsNan(left, right, &err) ) result->SL(left , right);
break;
default:
- __asm int 3;
+ ASM_TRAP();
}
delete temp;
@@ -563,4 +563,4 @@ void t(BOOL t) x = 1 + t ? 1 : 3 + 4 * 2 ;
t ? 0 : "test";
}
-#endif
\ No newline at end of file +#endif
|