mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Bugfix: NIV fix with displaying town names (by jonas bearpit)
- Removed the RakNet warnings when building a Release version (I added the missing PDB file) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2795 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -2756,7 +2756,7 @@ void RenderSMPanel( BOOLEAN *pfDirty )
|
||||
CreateMouseRegionForPauseOfClock( INTERFACE_CLOCK_X, INTERFACE_CLOCK_Y );
|
||||
// CHRISL: Change function call to include X,Y coordinates.
|
||||
RenderTownIDString( LOCATION_NAME_X, LOCATION_NAME_Y );
|
||||
}
|
||||
}//XXXj in tactical bug is: NIV pushes town name +Y and boom
|
||||
else
|
||||
{
|
||||
RemoveMouseRegionForPauseOfClock( );
|
||||
@@ -6186,6 +6186,9 @@ void RenderTownIDString( INT16 sX, INT16 sY )
|
||||
CHAR16 zTownIDString[80];
|
||||
INT16 sFontX, sFontY;
|
||||
|
||||
// when NIV is open in tactical
|
||||
if (sY+GetFontHeight(COMPFONT) >= SCREEN_HEIGHT) return;
|
||||
|
||||
// Render town, position
|
||||
SetFont( COMPFONT );
|
||||
SetFontForeground( 183 );
|
||||
|
||||
Reference in New Issue
Block a user