Fixes corrupted palette when selling minerals
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@54 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
#include "starcon.h"
|
#include "starcon.h"
|
||||||
#include "commglue.h"
|
#include "commglue.h"
|
||||||
#include "comm/starbas/strings.h"
|
#include "comm/starbas/strings.h"
|
||||||
|
#include "libs/graphics/gfx_common.h"
|
||||||
|
|
||||||
//Added by Chris
|
//Added by Chris
|
||||||
|
|
||||||
@@ -1720,6 +1721,8 @@ SellMinerals (RESPONSE_REF R)
|
|||||||
BOOLEAN Sleepy;
|
BOOLEAN Sleepy;
|
||||||
RESPONSE_REF pStr1, pStr2;
|
RESPONSE_REF pStr1, pStr2;
|
||||||
|
|
||||||
|
TFB_ReleaseColorMap();
|
||||||
|
|
||||||
total = 0;
|
total = 0;
|
||||||
Sleepy = TRUE;
|
Sleepy = TRUE;
|
||||||
for (i = 0; i < NUM_ELEMENT_CATEGORIES; ++i)
|
for (i = 0; i < NUM_ELEMENT_CATEGORIES; ++i)
|
||||||
|
|||||||
Reference in New Issue
Block a user