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/being.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/being.cpp') diff --git a/src/being.cpp b/src/being.cpp index edc177f17..e2452f997 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -2087,7 +2087,8 @@ void Being::talkTo() Net::getNpcHandler()->talk(mId); } -bool Being::draw(Graphics *graphics, int offsetX, int offsetY) const +bool Being::draw(Graphics *const graphics, + const int offsetX, const int offsetY) const { bool res = true; if (!mErased) -- cgit v1.2.3-70-g09d2