- 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:
Wanne
2009-05-02 15:19:30 +00:00
parent 3cb0624342
commit 51d3771927
3 changed files with 4 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+4 -1
View File
@@ -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 );