summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-27 21:47:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-27 21:47:11 +0300
commit610b13d188cd3faf99b971eea58594b336a57edd (patch)
treea63c21502fb067dba90cfc31343de6b90032487c /src/being
parent8b5ea7b5dadf697086b35b386f79d7b69d5e9215 (diff)
downloadplus-610b13d188cd3faf99b971eea58594b336a57edd.tar.gz
plus-610b13d188cd3faf99b971eea58594b336a57edd.tar.bz2
plus-610b13d188cd3faf99b971eea58594b336a57edd.tar.xz
plus-610b13d188cd3faf99b971eea58594b336a57edd.zip
Add checks for new issues from paranucker.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/actorsprite.cpp3
-rw-r--r--src/being/actorsprite.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index 6f213903e..4b9a4b61a 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -96,7 +96,8 @@ ActorSprite::~ActorSprite()
}
void ActorSprite::draw1(Graphics *const graphics,
- const int offsetX, const int offsetY) const
+ const int offsetX,
+ const int offsetY) const
{
FUNC_BLOCK("ActorSprite::draw1", 1)
if (mUsedTargetCursor)
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index 72ceb2f84..f6119bbef 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -70,7 +70,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
void draw1(Graphics *const graphics,
const int offsetX,
- const int offsetY) const;
+ const int offsetY) const A_NONNULL(2);
virtual void logic();