diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/ad/ad_scale_level.cpp | 2 | ||||
-rw-r--r-- | engines/wintermute/ad/ad_scale_level.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/ad/ad_scale_level.cpp b/engines/wintermute/ad/ad_scale_level.cpp index bee0f54d78..cfec8d7cb9 100644 --- a/engines/wintermute/ad/ad_scale_level.cpp +++ b/engines/wintermute/ad/ad_scale_level.cpp @@ -48,7 +48,7 @@ AdScaleLevel::~AdScaleLevel() { } -float AdScaleLevel::getScale() { +float AdScaleLevel::getScale() const { return _scale; } diff --git a/engines/wintermute/ad/ad_scale_level.h b/engines/wintermute/ad/ad_scale_level.h index ee0c683cdf..5c206423cf 100644 --- a/engines/wintermute/ad/ad_scale_level.h +++ b/engines/wintermute/ad/ad_scale_level.h @@ -42,7 +42,7 @@ public: virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent); bool loadFile(const char *filename); bool loadBuffer(byte *buffer, bool complete = true); - float getScale(); + float getScale() const; private: float _scale; }; |