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:
@@ -166,8 +166,12 @@ ship_preprocess (register PELEMENT ElementPtr)
|
||||
}
|
||||
else if (LOBYTE (GLOBAL (CurrentActivity)) <= IN_ENCOUNTER)
|
||||
{
|
||||
CONTEXT OldContext;
|
||||
|
||||
InitShipStatus (StarShipPtr, NULL_PTR);
|
||||
OldContext = SetContext (StatusContext);
|
||||
DrawCaptainsWindow (StarShipPtr);
|
||||
SetContext (OldContext);
|
||||
if (RDPtr->preprocess_func)
|
||||
(*RDPtr->preprocess_func) (ElementPtr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user