WINTERMUTE: Make AdScaleLevel::getScale() const.

This commit is contained in:
Einar Johan Trøan Sømåen 2012-12-09 12:27:27 +01:00
parent ae4380b88f
commit 7ff74312a0
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ AdScaleLevel::~AdScaleLevel() {
}
float AdScaleLevel::getScale() {
float AdScaleLevel::getScale() const {
return _scale;
}

View File

@ -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;
};