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-861f7616d084master
parent
5ee8538680
commit
acec2d7c6a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue