As per Eric's suggestion in the forum, scripted misjumps have a lifespan of one jump only. After that, auto reset occurs and subsequent jumps become normal ones again.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2268 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
27dc7ece50
commit
fdb050ec22
@ -1881,6 +1881,12 @@ static PlayerEntity *sSharedPlayer = nil;
|
||||
[UNIVERSE addMessage:DESC(@"witch-engine-malfunction") forCount:3.0];
|
||||
|
||||
[self setStatus:STATUS_IN_FLIGHT];
|
||||
|
||||
// If we are exiting witchspace after a scripted misjump. then make sure it gets reset now.
|
||||
// Scripted misjump situations should have a lifespan of one jump only, to keep things
|
||||
// simple - Nikos 20090728
|
||||
if ([self scriptedMisjump]) [self setScriptedMisjump:NO];
|
||||
|
||||
[self doScriptEvent:@"shipExitedWitchspace"];
|
||||
suppressAegisMessages=NO;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user