mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Redraw inventory panel when changing selected merc in strategic view (#127)
This commit is contained in:
+3
-2
@@ -10,6 +10,7 @@
|
||||
#include "renderworld.h"
|
||||
#include "local.h"
|
||||
#include "interface.h"
|
||||
#include "mapscreen.h"
|
||||
#include "Map Screen Interface Bottom.h"
|
||||
#include "WordWrap.h"
|
||||
#include "Sound Control.h"
|
||||
@@ -1036,7 +1037,7 @@ void MapScreenMessage( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ... )
|
||||
// HEADROCK HAM 3.6: Allow for longer lines.
|
||||
// Lejardo ARSProject
|
||||
MAP_LINE_WIDTH = (INTERFACE_WIDTH - 330);
|
||||
if (iResolution == _1280x720)
|
||||
if (isWidescreenUI())
|
||||
{
|
||||
MAP_LINE_WIDTH = 685;
|
||||
}
|
||||
@@ -1129,7 +1130,7 @@ void DisplayStringsInMapScreenMessageList( void )
|
||||
UINT16 usSpacing;
|
||||
UINT16 MessageStartX = (SCREEN_WIDTH - INTERFACE_WIDTH) / 2;
|
||||
UINT16 MessageEndX = MessageStartX + (INTERFACE_WIDTH - 330);
|
||||
if (iResolution == _1280x720)
|
||||
if (isWidescreenUI())
|
||||
{
|
||||
MessageStartX = 0;
|
||||
MessageEndX = 705;
|
||||
|
||||
Reference in New Issue
Block a user