From 3f338cc1c328c7280957583b50598292cd8fb64b Mon Sep 17 00:00:00 2001 From: maximius Date: Sat, 17 Oct 2009 16:20:24 -0700 Subject: *Massive cleanup redux. --HG-- branch : trunk --- src/framework/GameSystem/NGrid.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/framework/GameSystem') diff --git a/src/framework/GameSystem/NGrid.h b/src/framework/GameSystem/NGrid.h index 6ba5d10ffc1..ecb00e6d6f4 100644 --- a/src/framework/GameSystem/NGrid.h +++ b/src/framework/GameSystem/NGrid.h @@ -87,7 +87,7 @@ class TRINITY_DLL_DECL NGrid ASSERT(y < N); return i_cells[x][y]; } - + GridType& operator()(unsigned short x, unsigned short y) { ASSERT(x < N); @@ -131,8 +131,8 @@ class TRINITY_DLL_DECL NGrid template void Visit(TypeContainerVisitor > &visitor) { - for(unsigned int x=0; x < N; ++x) - for(unsigned int y=0; y < N; ++y) + for (unsigned int x=0; x < N; ++x) + for (unsigned int y=0; y < N; ++y) getGridType(x, y).Visit(visitor); } @@ -144,8 +144,8 @@ class TRINITY_DLL_DECL NGrid unsigned int ActiveObjectsInGrid(void) const { unsigned int count=0; - for(unsigned int x=0; x < N; ++x) - for(unsigned int y=0; y < N; ++y) + for (unsigned int x=0; x < N; ++x) + for (unsigned int y=0; y < N; ++y) count += i_cells[x][y].ActiveObjectsInGrid(); return count; } -- cgit v1.2.3