summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 00:55:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 00:55:22 +0300
commit3a7313c027407e3b35360a021c72fe78f181d81d (patch)
treebb313b81c7feb42c2a0b5855c1eca00ef2d7c1b1 /src/net/eathena
parent1307b14ff24f3935fa58aef405ffb246c0741336 (diff)
downloadmv-3a7313c027407e3b35360a021c72fe78f181d81d.tar.gz
mv-3a7313c027407e3b35360a021c72fe78f181d81d.tar.bz2
mv-3a7313c027407e3b35360a021c72fe78f181d81d.tar.xz
mv-3a7313c027407e3b35360a021c72fe78f181d81d.zip
Remove getter for chatHandler.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/pethandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/pethandler.cpp b/src/net/eathena/pethandler.cpp
index bf453055e..1485c1de0 100644
--- a/src/net/eathena/pethandler.cpp
+++ b/src/net/eathena/pethandler.cpp
@@ -82,7 +82,7 @@ void PetHandler::emote(const uint8_t emoteId, const int petId A_UNUSED)
if (mRandCounter > 10000)
mRandCounter = 1000;
- Net::getChatHandler()->talk(strprintf("\302\202\302e%dz%d",
+ chatHandler->talk(strprintf("\302\202\302e%dz%d",
static_cast<int>(emoteId), mRandCounter), GENERAL_CHANNEL);
}