diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-25 18:35:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-25 18:35:21 +0300 |
commit | 71f88c02f79a1164430eec1de3e15edec011a15e (patch) | |
tree | 6a0772ee943a41314b5abd92fed0ce269faced27 /src/being/actor.h | |
parent | 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (diff) | |
download | mv-71f88c02f79a1164430eec1de3e15edec011a15e.tar.gz mv-71f88c02f79a1164430eec1de3e15edec011a15e.tar.bz2 mv-71f88c02f79a1164430eec1de3e15edec011a15e.tar.xz mv-71f88c02f79a1164430eec1de3e15edec011a15e.zip |
improve construcors in abstract classes.
Also add some missing final to classes.
Diffstat (limited to 'src/being/actor.h')
-rw-r--r-- | src/being/actor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/actor.h b/src/being/actor.h index 9467c87eb..03f301a78 100644 --- a/src/being/actor.h +++ b/src/being/actor.h @@ -38,8 +38,6 @@ typedef Actors::const_iterator ActorsCIter; class Actor { public: - Actor(); - A_DELETE_COPY(Actor) virtual ~Actor(); @@ -130,6 +128,8 @@ public: { return mMap; } protected: + Actor(); + Map *mMap; Vector mPos; /**< Position in pixels relative to map. */ int mYDiff; |