Enhanced Description Box, v1.3. By Headrock

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2414 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
ChrisL
2008-11-13 01:11:59 +00:00
parent 3cd3ef39cb
commit 905ce20125
21 changed files with 10042 additions and 1061 deletions
+4
View File
@@ -986,6 +986,10 @@ void MSYS_RemoveRegion(MOUSE_REGION *region)
return;
AssertMsg( 0, "Attempting to remove a NULL region.");
}
//CHRISL: Obviously, we should never run this function if a region hasn't been setup, but a failsafe would be nice
if(region->IDNumber == 0)
return;
#ifdef MOUSESYSTEM_DEBUGGING
if( !(region->uiFlags & MSYS_REGION_EXISTS) )
AssertMsg( 0, "Attempting to remove an already removed region." );