Captain portraits in melee are now updated properly after battle and

bottom portrait always stays in correct place, from fOSSiL


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@448 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2002-12-20 17:02:05 +00:00
parent 453f2598ee
commit 85c0c028c9
+4
View File
@@ -166,8 +166,12 @@ ship_preprocess (register PELEMENT ElementPtr)
} }
else if (LOBYTE (GLOBAL (CurrentActivity)) <= IN_ENCOUNTER) else if (LOBYTE (GLOBAL (CurrentActivity)) <= IN_ENCOUNTER)
{ {
CONTEXT OldContext;
InitShipStatus (StarShipPtr, NULL_PTR); InitShipStatus (StarShipPtr, NULL_PTR);
OldContext = SetContext (StatusContext);
DrawCaptainsWindow (StarShipPtr); DrawCaptainsWindow (StarShipPtr);
SetContext (OldContext);
if (RDPtr->preprocess_func) if (RDPtr->preprocess_func)
(*RDPtr->preprocess_func) (ElementPtr); (*RDPtr->preprocess_func) (ElementPtr);