Fixed ECM being still active and compass not resetting to basic functionality after player restart.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1615 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Nikos Barkas 2008-05-05 15:55:58 +00:00
parent 30122819bd
commit 329c0e483e

View File

@ -843,6 +843,9 @@ static PlayerEntity *sSharedPlayer = nil;
[self setWeaponDataFromType:forward_weapon];
scannerRange = SCANNER_MAX_RANGE;
ecm_in_operation = NO;
compassMode = COMPASS_MODE_BASIC;
max_cargo = 20; // will be reset later
shipCommodityData = [[[ResourceManager dictionaryFromFilesNamed:@"commodities.plist" inFolder:@"Config" andMerge:YES] objectForKey:@"default"] retain];