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:
@@ -40,6 +40,7 @@
|
||||
#include "Interface Items.h"
|
||||
#include "Food.h" // added by Flugente
|
||||
#include "Campaign Types.h" // added by Flugente
|
||||
#include "mapscreen.h"
|
||||
|
||||
//forward declarations of common classes to eliminate includes
|
||||
class OBJECTTYPE;
|
||||
@@ -448,7 +449,7 @@ BOOLEAN LoadInventoryPoolGraphic( void )
|
||||
{
|
||||
sprintf( VObjectDesc.ImageFile, "INTERFACE\\sector_inventory.sti" );
|
||||
}
|
||||
else if (iResolution == _1280x720)
|
||||
else if (isWidescreenUI())
|
||||
{
|
||||
sprintf(VObjectDesc.ImageFile, "INTERFACE\\sector_inventory_1280x720.sti");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user