diff options
author | Machiavelli <none@none> | 2009-06-19 00:52:47 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-06-19 00:52:47 +0200 |
commit | 46ad2e833fcd36e66aeeb0e95cbd9e6e147459fc (patch) | |
tree | 970c8ae30bf3c86a61b20d3a90959121d988bb2a | |
parent | 692fb2ba7e3408397d2717531a37a57ab74f68cc (diff) |
* Fix build in linux
--HG--
branch : trunk
-rw-r--r-- | src/game/TicketHandler.cpp | 2 | ||||
-rw-r--r-- | src/game/WorldSession.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/game/TicketHandler.cpp b/src/game/TicketHandler.cpp index fc2fd3d8383..d193f85ef3e 100644 --- a/src/game/TicketHandler.cpp +++ b/src/game/TicketHandler.cpp @@ -126,7 +126,7 @@ void WorldSession::HandleGMTicketGetTicketOpcode( WorldPacket & /*recv_data*/) GM_Ticket *ticket = objmgr.GetGMTicketByPlayer(GetPlayer()->GetGUID()); if(ticket) - SendGMTicketGetTicket(0x06, ticket->message); + SendGMTicketGetTicket(0x06, ticket->message.c_str()); else SendGMTicketGetTicket(0x0A, 0); diff --git a/src/game/WorldSession.h b/src/game/WorldSession.h index 6dc31897414..f4842c0f0bc 100644 --- a/src/game/WorldSession.h +++ b/src/game/WorldSession.h @@ -171,7 +171,6 @@ class TRINITY_DLL_SPEC WorldSession void SendTabardVendorActivate( uint64 guid ); void SendSpiritResurrect(); void SendBindPoint(Creature* npc); - void SendGMTicketGetTicket(uint32 status, char const* text); void SendAttackStop(Unit const* enemy); |