aboutsummaryrefslogtreecommitdiff
path: root/engines/glk
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk')
-rw-r--r--engines/glk/alan2/parse.cpp2
-rw-r--r--engines/glk/alan2/util.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/glk/alan2/parse.cpp b/engines/glk/alan2/parse.cpp
index 216f4746c7..7cb34c1c8c 100644
--- a/engines/glk/alan2/parse.cpp
+++ b/engines/glk/alan2/parse.cpp
@@ -33,6 +33,8 @@
namespace Glk {
namespace Alan2 {
+
+uint32 litCount = 0;
// All procedures for getting a command and turning it into a list of
// dictionary entries are placed here.
diff --git a/engines/glk/alan2/util.h b/engines/glk/alan2/util.h
index 702cdf1f71..73d65e2b30 100644
--- a/engines/glk/alan2/util.h
+++ b/engines/glk/alan2/util.h
@@ -32,7 +32,7 @@ namespace Alan2 {
// TODO: Move these
extern LitElem *litValues;
-uint32 litCount = 0; // for LITMAX
+extern uint32 litCount; // for LITMAX - defined in parse.cpp
extern ActElem *acts; // Actor table pointer
extern ObjElem *objs; // Object table pointer