mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
HandleSnitchExposition: assignment instead of value check
HourlySnitchUpdate: NUM_PROFILES limit Strategic AI.cpp: MAP_WORLD_X * MAP_WORLD_Y limit RemoveMPButtonsForMapScreen: MAX_MP_BUTTONS limit WrapString: '/0' char instead of '\0' git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8257 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -14323,10 +14323,12 @@ void RemoveMPButtonsForMapScreen( void )
|
||||
UnloadButtonImage( giMapMPButtonImage[ iCounter ] );
|
||||
|
||||
if(iCounter < MAX_MP_BUTTONS)
|
||||
{
|
||||
RemoveButton( giMapMPButton[ iCounter ] );
|
||||
giMapMPButton[ iCounter ] = -1;
|
||||
}
|
||||
|
||||
giMapMPButtonImage[ iCounter ] = -1;
|
||||
giMapMPButton[ iCounter ] = -1;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user