mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
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:
@@ -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." );
|
||||
|
||||
Reference in New Issue
Block a user