Core/Misc: Improve assert message with more detail
This commit is contained in:
1 parent
3f7c7dcc30
commit
95d7b0f2d6
1 file changed
+1
-1
@@ -711,7 +711,7 @@ class TC_GAME_API Map : public GridRefManager<NGridType>
|
||||
|
||||
NGridType* getNGrid(uint32 x, uint32 y) const
|
||||
{
|
||||
ASSERT(x < MAX_NUMBER_OF_GRIDS && y < MAX_NUMBER_OF_GRIDS);
|
||||
ASSERT(x < MAX_NUMBER_OF_GRIDS && y < MAX_NUMBER_OF_GRIDS, "x = %u, y = %u", x, y);
|
||||
return i_grids[x][y];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user