aboutsummaryrefslogtreecommitdiff
path: root/src/game/MapManager.cpp
diff options
context:
space:
mode:
authormaximius <none@none>2009-11-22 19:56:48 -0800
committermaximius <none@none>2009-11-22 19:56:48 -0800
commit055f16f525fde75b911972610c517cb6f3c0966f (patch)
tree0b6e0e3268b38bbe5aa0810c7cc836fb25d410a9 /src/game/MapManager.cpp
parent9b7f2240b8f2130d0fb818953afbbc2477287693 (diff)
*Little cleanup, and access GetMaxVisibleDistance functions statically instead of through the sWorld singleton.
--HG-- branch : trunk
Diffstat (limited to 'src/game/MapManager.cpp')
-rw-r--r--src/game/MapManager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/MapManager.cpp b/src/game/MapManager.cpp
index b414b00fcc9..ae6a01003cf 100644
--- a/src/game/MapManager.cpp
+++ b/src/game/MapManager.cpp
@@ -67,10 +67,9 @@ MapManager::Initialize()
// debugging code, should be deleted some day
{
- for (int i=0; i<MAX_GRID_STATE; i++)
- {
+ for (uint8 i = 0; i < MAX_GRID_STATE; ++i)
i_GridStates[i] = si_GridStates[i];
- }
+
i_GridStateErrorCount = 0;
}