Fiddling with debug OXP silliness again.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1170 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2007-09-13 17:18:59 +00:00
parent 77df587d1a
commit bcc03fff2b
2 changed files with 3 additions and 3 deletions

View File

@ -267,8 +267,8 @@ MA 02110-1301, USA.
Vector tractor_position;
// from player entity moved here now we're doing more complex heat stuff
GLfloat ship_temperature;
GLfloat heat_insulation;
float ship_temperature;
float heat_insulation;
// for advanced scanning etc.
ShipEntity* scanned_ships[MAX_SCAN_NUMBER + 1];

View File

@ -398,7 +398,7 @@ static NSString * const kOOLogEntityBehaviourChanged = @"entity.behaviour.change
ScanVectorFromString([shipDict objectForKey:@"scoop_position"], &tractor_position);
// ship skin insulation factor (1.0 is normal)
heat_insulation = [shipDict doubleForKey:@"heat_insulation" defaultValue:1.0];
heat_insulation = [shipDict floatForKey:@"heat_insulation" defaultValue:1.0];
// crew and passengers
NSDictionary* cdict = [[UNIVERSE characters] objectForKey:[shipDict stringForKey:@"pilot"]];