summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-19 00:38:02 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-19 00:38:02 +0100
commit061fd25c6117c57785f044d5e113222f99768255 (patch)
tree64b2e193c7715dc89ed004430b66e9d4c4efee26 /src/control/Script.h
parentfixes (diff)
downloadre3-061fd25c6117c57785f044d5e113222f99768255.tar
re3-061fd25c6117c57785f044d5e113222f99768255.tar.gz
re3-061fd25c6117c57785f044d5e113222f99768255.tar.bz2
re3-061fd25c6117c57785f044d5e113222f99768255.tar.lz
re3-061fd25c6117c57785f044d5e113222f99768255.tar.xz
re3-061fd25c6117c57785f044d5e113222f99768255.tar.zst
re3-061fd25c6117c57785f044d5e113222f99768255.zip
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.h b/src/control/Script.h
index 5c31625f..f2b5dda9 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -19,7 +19,7 @@ class CRunningScript;
extern int32 ScriptParams[32];
void FlushLog();
-#define script_assert(_Expression) FlushLog(); assert(_Expression);
+#define script_assert(_Expression) { FlushLog(); assert(_Expression); }
#define PICKUP_PLACEMENT_OFFSET (0.5f)
#define PED_FIND_Z_OFFSET (5.0f)