aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/lua-script.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 780b55a9b4..cbed8b5259 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -701,9 +701,14 @@ struct VarInit {
// For AI States, to be implemented
struct NumberInit {
int value;
- char *luaName;
+ const char *luaName;
} luaGlobalValues[] = {
- {NULL, NULL}
+ { DIR_NONE, "DIR_NONE" },
+ { DIR_DOWN, "DIR_DOWN" },
+ { DIR_UP, "DIR_UP" },
+ { DIR_LEFT, "DIR_LEFT" },
+ { DIR_RIGHT, "DIR_RIGHT" },
+ { NULL, NULL }
};
struct FuncInit {