diff --git a/sc2/src/sc2code/ship.c b/sc2/src/sc2code/ship.c index 4842753ee..1b8f09c88 100644 --- a/sc2/src/sc2code/ship.c +++ b/sc2/src/sc2code/ship.c @@ -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);