From 126b1470842302537b0bc5e4527cf7fd540a9125 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Feb 2013 12:33:10 +0300 Subject: Add checks and const to animatedsprites and related classes. --- src/actorsprite.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/actorsprite.cpp') diff --git a/src/actorsprite.cpp b/src/actorsprite.cpp index be7fcb165..96afb94c7 100644 --- a/src/actorsprite.cpp +++ b/src/actorsprite.cpp @@ -77,7 +77,8 @@ ActorSprite::~ActorSprite() } } -bool ActorSprite::draw(Graphics *graphics, int offsetX, int offsetY) const +bool ActorSprite::draw(Graphics *const graphics, + const int offsetX, const int offsetY) const { FUNC_BLOCK("ActorSprite::draw", 1) // TODO: Eventually, we probably should fix all sprite offsets so that -- cgit v1.2.3-70-g09d2