summaryrefslogtreecommitdiff
path: root/src/net/tmwa/pethandler.cpp
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/tmwa/pethandler.cpp
parent1307b14ff24f3935fa58aef405ffb246c0741336 (diff)
downloadmanaplus-3a7313c027407e3b35360a021c72fe78f181d81d.tar.gz
manaplus-3a7313c027407e3b35360a021c72fe78f181d81d.tar.bz2
manaplus-3a7313c027407e3b35360a021c72fe78f181d81d.tar.xz
manaplus-3a7313c027407e3b35360a021c72fe78f181d81d.zip
Remove getter for chatHandler.
Diffstat (limited to 'src/net/tmwa/pethandler.cpp')
-rw-r--r--src/net/tmwa/pethandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp
index 0ca5f7c63..a071d1289 100644
--- a/src/net/tmwa/pethandler.cpp
+++ b/src/net/tmwa/pethandler.cpp
@@ -70,7 +70,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);
}