From 9a65bc6bb7c8da1dfa5b101579e52845c75848ef Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 31 Mar 2008 01:17:59 +0000 Subject: [FIX] Member variables now use m_ prefix [FIX] Lots of minor fixes git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@95 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/MapWarpUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pokemodr/MapWarpUI.cpp') diff --git a/pokemodr/MapWarpUI.cpp b/pokemodr/MapWarpUI.cpp index 341ccbd0..01364df7 100644 --- a/pokemodr/MapWarpUI.cpp +++ b/pokemodr/MapWarpUI.cpp @@ -87,7 +87,7 @@ void MapWarpUI::setGui() { varToWarp->clear(); int index = mapWarp->getPokemod()->getMapIndex(mapWarp_mod->getToMap()); - if (index != -1) + if (index != INT_MAX) { try { -- cgit