Corrected a recent C&P error with a sun radius

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2991 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Eric Walch 2010-01-23 13:52:13 +00:00
parent 35017a7ed1
commit 3e649631cb
2 changed files with 2 additions and 2 deletions

View File

@ -7703,7 +7703,7 @@ BOOL class_masslocks(int some_class)
[UNIVERSE addEntity:jetto]; // STATUS_IN_FLIGHT, AI state GLOBAL
jettoAI = [jetto getAI];
if ([jettoAI hasSuspendedStateMachines]) // check if this was previos scooped cargo.
if ([jettoAI hasSuspendedStateMachines]) // check if this was previous scooped cargo.
{
[jetto setThrust:[jetto maxThrust]]; // restore old thrust.
[jetto setOwner:jetto];

View File

@ -1892,7 +1892,7 @@ GLfloat docked_light_specular[4] = { DOCKED_ILLUM_LEVEL, DOCKED_ILLUM_LEVEL, DOC
break;
case 's':
scale = [self sun] ? [[self planet] radius]: 100000;
scale = [self sun] ? [[self sun] radius]: 100000;
break;
case 'u':