Core/Misc: Improve assert message with more detail

This commit is contained in:
Shauren authored and Ovahlord committed 2020-04-22 17:05:11 +02:00
1 parent 3f7c7dcc30
commit 95d7b0f2d6
1 file changed
+1 -1
+1 -1
View File
@@ -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];
}