Fixed script error in cloaking device mission.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1587 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2008-04-26 13:52:18 +00:00
parent 206e883362
commit 30ee81765c
3 changed files with 2 additions and 3 deletions

View File

@ -34,6 +34,6 @@ this.version = "1.72";
this.shipDied = function ()
{
this.spawn("cloaking-device");
this.ship.spawn("cloaking-device");
missionVariables.cloak = "COMPLETE";
}

View File

@ -145,7 +145,6 @@ typedef enum
#define HYPERSPEED_FACTOR 32.0
#define PLAYER_SHIP_DESC @"cobra3-player"
#define PLAYER_MODEL @"cobra3_redux.dat"
#define ESCAPE_SEQUENCE_TIME 10.0

View File

@ -747,7 +747,7 @@ static PlayerEntity *sSharedPlayer = nil;
show_info_flag = NO;
[ship_desc release];
ship_desc = [[NSString stringWithString:PLAYER_SHIP_DESC] retain];
ship_desc = PLAYER_SHIP_DESC;
ship_trade_in_factor = 95;
NSDictionary *huddict = [ResourceManager dictionaryFromFilesNamed:@"hud.plist" inFolder:@"Config" andMerge:YES];