diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cryomni3d/fixed_image.cpp | 2 | ||||
-rw-r--r-- | engines/cryomni3d/fixed_image.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/cryomni3d/fixed_image.cpp b/engines/cryomni3d/fixed_image.cpp index 0fb951342f..660190a09f 100644 --- a/engines/cryomni3d/fixed_image.cpp +++ b/engines/cryomni3d/fixed_image.cpp @@ -42,7 +42,7 @@ ZonFixedImage::~ZonFixedImage() { delete _imageDecoder; } -void ZonFixedImage::run(const Common::Functor1<ZonFixedImage *, void> *callback) { +void ZonFixedImage::run(const CallbackFunctor *callback) { _exit = false; _zonesMode = kZonesMode_None; diff --git a/engines/cryomni3d/fixed_image.h b/engines/cryomni3d/fixed_image.h index b462315323..7f2b1e07de 100644 --- a/engines/cryomni3d/fixed_image.h +++ b/engines/cryomni3d/fixed_image.h @@ -65,7 +65,7 @@ public: void run(const CallbackFunctor *callback); - /* THis function is used to refresh image after various events */ + /* This function is used to refresh image after various events */ void display() const; /* These functions and attributes are used in image handler */ @@ -96,7 +96,7 @@ public: Common::KeyState _key; protected: - const Common::Functor1<ZonFixedImage *, void> *_callback; + const CallbackFunctor *_callback; CryOmni3DEngine &_engine; Inventory &_inventory; const Sprites &_sprites; |