From f24ddad3fa0f843eb29a281426151cf1a5f31f4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Sep 2012 23:47:11 +0300 Subject: add const to more classes, fix other small style issues. --- src/resources/ambientlayer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/ambientlayer.cpp') diff --git a/src/resources/ambientlayer.cpp b/src/resources/ambientlayer.cpp index 9e919297b..99a3b76c4 100644 --- a/src/resources/ambientlayer.cpp +++ b/src/resources/ambientlayer.cpp @@ -102,7 +102,8 @@ void AmbientLayer::update(const int timePassed, const float dx, const float dy) mPosY += static_cast(imgH); } -void AmbientLayer::draw(Graphics *const graphics, const int x, const int y) const +void AmbientLayer::draw(Graphics *const graphics, const int x, + const int y) const { if (!mImage) return; -- cgit v1.2.3-60-g2f50