summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-04 01:58:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-04 01:58:51 +0300
commitf2013e1e567d2a91be8b696cdd1db3edd5906f99 (patch)
tree20d0288ea17f2da33b4887f0e8734063ca7134a5 /src/net
parentf74e2b6c8b019bceb02e25aa53e988918fd5d278 (diff)
downloadmanaplus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.gz
manaplus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.bz2
manaplus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.tar.xz
manaplus-f2013e1e567d2a91be8b696cdd1db3edd5906f99.zip
Add some missing tmwa defines. Fix compilation error without tmwa support.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/beingrecv.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index a9d5f380d..915be5cbd 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -451,7 +451,9 @@ void BeingRecv::processBeingVisible(Net::MessageIn &msg)
case ActorType::Elemental:
break;
case ActorType::FloorItem:
+#ifdef TMWA_SUPPORT
case ActorType::LocalPet:
+#endif
case ActorType::Avatar:
case ActorType::Unknown:
reportAlways("Wrong being type detected: %d",
@@ -669,7 +671,9 @@ void BeingRecv::processBeingMove(Net::MessageIn &msg)
case ActorType::Elemental:
break;
case ActorType::FloorItem:
+#ifdef TMWA_SUPPORT
case ActorType::LocalPet:
+#endif
case ActorType::Avatar:
case ActorType::Unknown:
reportAlways("Wrong being type detected: %d",
@@ -883,7 +887,9 @@ void BeingRecv::processBeingSpawn(Net::MessageIn &msg)
case ActorType::Elemental:
break;
case ActorType::FloorItem:
+#ifdef TMWA_SUPPORT
case ActorType::LocalPet:
+#endif
case ActorType::Avatar:
case ActorType::Unknown:
reportAlways("Wrong being type detected: %d",