diff options
Diffstat (limited to 'pokemod/Dialog.cpp')
-rw-r--r-- | pokemod/Dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemod/Dialog.cpp b/pokemod/Dialog.cpp index a907fb2b..b1c164f3 100644 --- a/pokemod/Dialog.cpp +++ b/pokemod/Dialog.cpp @@ -120,7 +120,7 @@ bool Dialog::validate() const unsigned tempU = arg.toUInt(&okU); unsigned long tempUL = arg.toULong(&okUL); unsigned invError = 0; - const Map* map; + const Map* map = NULL; ++numArgs; switch (curCmd) { |