Skip to content

Commit

Permalink
GLK: Fix multiple definitions of litCount variable
Browse files Browse the repository at this point in the history
  • Loading branch information
criezy committed Dec 28, 2018
1 parent 3fa3967 commit 787a62c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions engines/glk/alan2/parse.cpp
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion engines/glk/alan2/util.h
Expand Up @@ -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

Expand Down

0 comments on commit 787a62c

Please sign in to comment.