summaryrefslogtreecommitdiff
path: root/src/map/script.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-04-09 17:35:27 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-04-09 17:38:23 -0700
commit9c13169778f55eec42fde14e12b2cc3c2f601c4e (patch)
treea92ffbe0d8e5b2ae26583d55fcf6ce8eb5fd65ed /src/map/script.hpp
parent5396ef766afd827c1717143db95956e9e327f4b6 (diff)
downloadtmwa-9c13169778f55eec42fde14e12b2cc3c2f601c4e.tar.gz
tmwa-9c13169778f55eec42fde14e12b2cc3c2f601c4e.tar.bz2
tmwa-9c13169778f55eec42fde14e12b2cc3c2f601c4e.tar.xz
tmwa-9c13169778f55eec42fde14e12b2cc3c2f601c4e.zip
Change script call/ret code to avoid evil casting
Diffstat (limited to 'src/map/script.hpp')
-rw-r--r--src/map/script.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.hpp b/src/map/script.hpp
index 352164b..4caf58e 100644
--- a/src/map/script.hpp
+++ b/src/map/script.hpp
@@ -16,6 +16,7 @@ struct script_data
{
int num;
const char *str;
+ const ScriptCode *script;
} u;
};