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/actor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/actor.h') diff --git a/src/actor.h b/src/actor.h index 392a59dc5..461758b9a 100644 --- a/src/actor.h +++ b/src/actor.h @@ -52,7 +52,8 @@ public: * would support setting a translation offset. It already does this * partly with the clipping rectangle support. */ - virtual bool draw(Graphics *graphics, int offsetX, int offsetY) const = 0; + virtual bool draw(Graphics *const graphics, + const int offsetX, const int offsetY) const = 0; /** * Returns the horizontal size of the actors graphical representation -- cgit v1.2.3-60-g2f50