Improve assert message in scrOrderGroupLoc when an order goes out of map bounds.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@6984 4a71c877-e1ca-e34f-864e-861f7616d084
master
Per Inge Mathisen 2009-04-09 09:06:16 +00:00 committed by Git SVN Gateway
parent 5ee8538680
commit acec2d7c6a
1 changed files with 1 additions and 2 deletions

View File

@ -433,8 +433,7 @@ BOOL scrOrderGroupLoc(void)
|| y < 0
|| y > world_coord(mapHeight))
{
ASSERT( false,
"scrOrderGroupLoc: Invalid location" );
ASSERT(false, "Invalid map location (%d, %d), max is (%d, %d)", x, y, world_coord(mapWidth), world_coord(mapHeight));
return false;
}