[10710] Fixed typos in my previous commit

This commit is contained in:
SilverIce 2010-11-09 15:24:10 +02:00
parent 6c1dd50511
commit 24eb9ec87a
2 changed files with 3 additions and 3 deletions

View file

@ -123,8 +123,8 @@ struct MANGOS_DLL_DECL CoordPair
CoordPair& normalize() CoordPair& normalize()
{ {
x_coord = std::min(x_coord, LIMIT); x_coord = std::min(x_coord, LIMIT-1);
y_coord = std::min(y_coord, LIMIT); y_coord = std::min(y_coord, LIMIT-1);
return *this; return *this;
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "10709" #define REVISION_NR "10710"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__