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/flooritem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/flooritem.h') diff --git a/src/flooritem.h b/src/flooritem.h index 4e1b78d87..aaf870cf3 100644 --- a/src/flooritem.h +++ b/src/flooritem.h @@ -57,7 +57,8 @@ class FloorItem final : public ActorSprite Type getType() const override A_WARN_UNUSED { return FLOOR_ITEM; } - bool draw(Graphics *graphics, int offsetX, int offsetY) const override; + bool draw(Graphics *const graphics, + const int offsetX, const int offsetY) const override; /** * Returns the item ID. -- cgit v1.2.3-60-g2f50