mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Bugfix: Corrected the shopkeeper interface so that the clock and town strings are displayed in the correct location.
Bugfix: Added a condition so that the clock doesn't try to display on the SM Panel while in NIV mode. It was displaying, just hidden under the radar screen. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2473 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2734,7 +2734,9 @@ void RenderSMPanel( BOOLEAN *pfDirty )
|
||||
if( fRenderRadarScreen == TRUE )
|
||||
{
|
||||
// Render clock
|
||||
RenderClock( INTERFACE_CLOCK_X, INTERFACE_CLOCK_Y );
|
||||
// CHRISL: If we're in NIV mode, don't render the clock on the SM panel
|
||||
if(UsingNewInventorySystem() == false)
|
||||
RenderClock( INTERFACE_CLOCK_X, INTERFACE_CLOCK_Y );
|
||||
CreateMouseRegionForPauseOfClock( INTERFACE_CLOCK_X, INTERFACE_CLOCK_Y );
|
||||
// CHRISL: Change function call to include X,Y coordinates.
|
||||
RenderTownIDString( LOCATION_NAME_X, LOCATION_NAME_Y );
|
||||
|
||||
Reference in New Issue
Block a user