From cd36fb3dfc1697e98437234dc10a080d80954f32 Mon Sep 17 00:00:00 2001 From: lotodore Date: Tue, 30 Mar 2010 13:09:03 +0000 Subject: [PATCH] Fixing compiler error. --- src/net/common/clientstate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index 53981248..983fe155 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -1489,7 +1489,7 @@ ClientStateWaitGame::InternalHandlePacket(boost::shared_ptr client else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_inviteNotifyMessage) { InviteNotifyMessage_t *netInvNotify = &tmpPacket->GetMsg()->choice.inviteNotifyMessage; - client->GetCallback()->SignalPlayerGameInvitation( + client->GetCallback().SignalPlayerGameInvitation( netInvNotify->gameId, netInvNotify->playerIdWho, netInvNotify->playerIdByWhom); @@ -1497,7 +1497,7 @@ ClientStateWaitGame::InternalHandlePacket(boost::shared_ptr client else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_rejectInvNotifyMessage) { RejectInvNotifyMessage_t *netRejNotify = &tmpPacket->GetMsg()->choice.rejectInvNotifyMessage; - client->GetCallback()->SignalPlayerGameInvitation( + client->GetCallback().SignalPlayerGameInvitation( netRejNotify->gameId, netRejNotify->playerId, static_cast(netRejNotify->playerRejectReason));