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:
gewlitys
2002-09-21 13:58:39 +00:00
parent 95372702ab
commit c92f8f6357
+3
View File
@@ -21,6 +21,7 @@
#include "starcon.h"
#include "commglue.h"
#include "comm/starbas/strings.h"
#include "libs/graphics/gfx_common.h"
//Added by Chris
@@ -1720,6 +1721,8 @@ SellMinerals (RESPONSE_REF R)
BOOLEAN Sleepy;
RESPONSE_REF pStr1, pStr2;
TFB_ReleaseColorMap();
total = 0;
Sleepy = TRUE;
for (i = 0; i < NUM_ELEMENT_CATEGORIES; ++i)