From 24eb9ec87ab032e4e2e5a1be93c8c7f372e5a5d3 Mon Sep 17 00:00:00 2001 From: SilverIce Date: Tue, 9 Nov 2010 15:24:10 +0200 Subject: [PATCH] [10710] Fixed typos in my previous commit --- src/game/GridDefines.h | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/GridDefines.h b/src/game/GridDefines.h index 0079d0b19..d1e30c545 100644 --- a/src/game/GridDefines.h +++ b/src/game/GridDefines.h @@ -123,8 +123,8 @@ struct MANGOS_DLL_DECL CoordPair CoordPair& normalize() { - x_coord = std::min(x_coord, LIMIT); - y_coord = std::min(y_coord, LIMIT); + x_coord = std::min(x_coord, LIMIT-1); + y_coord = std::min(y_coord, LIMIT-1); return *this; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index bd96af9ef..c4ea4b936 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10709" + #define REVISION_NR "10710" #endif // __REVISION_NR_H__