summaryrefslogtreecommitdiffstats
path: root/pokemodr/PokemodUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/PokemodUI.cpp')
-rw-r--r--pokemodr/PokemodUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemodr/PokemodUI.cpp b/pokemodr/PokemodUI.cpp
index ac3c987b..57ec83ea 100644
--- a/pokemodr/PokemodUI.cpp
+++ b/pokemodr/PokemodUI.cpp
@@ -83,7 +83,7 @@ void PokemodUI::setGui()
{
varWarp->clear();
int index = pokemod->getMapIndex(pokemod_mod->getStartMap());
- if (index != -1)
+ if (index != INT_MAX)
{
try
{