summaryrefslogtreecommitdiff
path: root/src/net/ea/beinghandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 18:35:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 18:35:21 +0300
commit71f88c02f79a1164430eec1de3e15edec011a15e (patch)
tree6a0772ee943a41314b5abd92fed0ce269faced27 /src/net/ea/beinghandler.h
parent6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (diff)
downloadmanaverse-71f88c02f79a1164430eec1de3e15edec011a15e.tar.gz
manaverse-71f88c02f79a1164430eec1de3e15edec011a15e.tar.bz2
manaverse-71f88c02f79a1164430eec1de3e15edec011a15e.tar.xz
manaverse-71f88c02f79a1164430eec1de3e15edec011a15e.zip
improve construcors in abstract classes.
Also add some missing final to classes.
Diffstat (limited to 'src/net/ea/beinghandler.h')
-rw-r--r--src/net/ea/beinghandler.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/ea/beinghandler.h b/src/net/ea/beinghandler.h
index ad57e128e..c27d7c2da 100644
--- a/src/net/ea/beinghandler.h
+++ b/src/net/ea/beinghandler.h
@@ -31,11 +31,11 @@ namespace Ea
class BeingHandler : public Net::BeingHandler
{
public:
- explicit BeingHandler(const bool enableSync);
-
A_DELETE_COPY(BeingHandler)
protected:
+ explicit BeingHandler(const bool enableSync);
+
virtual Being *createBeing(int id, int16_t job) const A_WARN_UNUSED;
virtual void setSprite(Being *const being, const unsigned int slot,
@@ -94,7 +94,6 @@ class BeingHandler : public Net::BeingHandler
virtual void processPvpSet(Net::MessageIn &msg) const;
- protected:
// Should we honor server "Stop Walking" packets
bool mSync;
int mSpawnId;