summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-09-01 17:13:13 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-01 17:13:13 (GMT)
commitba55da77a9dd2ed4fd7ce87adb2fc6622d130238 (patch)
tree47df5e24377886ad55095694fa39d01529db7fe4 /src/cat/LuaScriptInterface.cpp
parent618e29d5d487a2215628b5cf70ccc72462878201 (diff)
downloadpowder-ba55da77a9dd2ed4fd7ce87adb2fc6622d130238.zip
powder-ba55da77a9dd2ed4fd7ce87adb2fc6622d130238.tar.gz
!load command for old console
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
-rw-r--r--src/cat/LuaScriptInterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp
index 54e2292..18a9886 100644
--- a/src/cat/LuaScriptInterface.cpp
+++ b/src/cat/LuaScriptInterface.cpp
@@ -37,10 +37,10 @@
#endif
#include <time.h>
-LuaScriptInterface::LuaScriptInterface(GameModel * m):
- CommandInterface(m),
+LuaScriptInterface::LuaScriptInterface(GameController * c, GameModel * m):
+ CommandInterface(c, m),
currentCommand(false),
- legacy(new TPTScriptInterface(m))
+ legacy(new TPTScriptInterface(c, m))
{
luacon_model = m;
luacon_sim = m->GetSimulation();