diff options
Diffstat (limited to 'engines/titanic/star_control/star_control_sub8.cpp')
-rw-r--r-- | engines/titanic/star_control/star_control_sub8.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/star_control/star_control_sub8.cpp b/engines/titanic/star_control/star_control_sub8.cpp index cba4fe01b7..23a65e8702 100644 --- a/engines/titanic/star_control/star_control_sub8.cpp +++ b/engines/titanic/star_control/star_control_sub8.cpp @@ -22,7 +22,7 @@ #include "titanic/star_control/star_control_sub8.h" #include "titanic/star_control/star_control_sub7.h" -#include "titanic/star_control/star_control_sub12.h" +#include "titanic/star_control/star_camera.h" #include "titanic/star_control/star_field.h" #include "titanic/star_control/star_ref.h" @@ -93,13 +93,13 @@ void CStarControlSub8::selectStar(int index, CVideoSurface *surface, } } -bool CStarControlSub8::fn1(CStarField *starField, CSurfaceArea *surfaceArea, CStarControlSub12 *sub12) { - int count = starField->baseFn2(surfaceArea, sub12); +bool CStarControlSub8::fn1(CStarField *starField, CSurfaceArea *surfaceArea, CStarCamera *camera) { + int count = starField->baseFn2(surfaceArea, camera); if (count > 0) { allocate(count); CStarRef2 starRef(starField, &_positions); - starRef.process(surfaceArea, sub12); + starRef.process(surfaceArea, camera); return true; } else { clear(); |