From 4eaedf092bc504fae492827b1a89e7bbaac20263 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 11:24:41 +0300 Subject: Remove getter for petHandler. --- src/actions/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actions/commands.cpp') 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( + petHandler->emote(static_cast( atoi(event.args.c_str())), 0); return true; } -- cgit v1.2.3-70-g09d2