summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index d5c2f5096..cdc65f0ad 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -318,7 +318,7 @@ impHandler(commandEmote)
impHandler(commandEmotePet)
{
// need use actual pet id
- Net::getPetHandler()->emote(static_cast<uint8_t>(
+ petHandler->emote(static_cast<uint8_t>(
atoi(event.args.c_str())), 0);
return true;
}