Fixing compiler error.

This commit is contained in:
lotodore
2010-03-30 13:09:03 +00:00
parent a01741846a
commit cd36fb3dfc
+2 -2
View File
@@ -1489,7 +1489,7 @@ ClientStateWaitGame::InternalHandlePacket(boost::shared_ptr<ClientThread> client
else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_inviteNotifyMessage) else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_inviteNotifyMessage)
{ {
InviteNotifyMessage_t *netInvNotify = &tmpPacket->GetMsg()->choice.inviteNotifyMessage; InviteNotifyMessage_t *netInvNotify = &tmpPacket->GetMsg()->choice.inviteNotifyMessage;
client->GetCallback()->SignalPlayerGameInvitation( client->GetCallback().SignalPlayerGameInvitation(
netInvNotify->gameId, netInvNotify->gameId,
netInvNotify->playerIdWho, netInvNotify->playerIdWho,
netInvNotify->playerIdByWhom); netInvNotify->playerIdByWhom);
@@ -1497,7 +1497,7 @@ ClientStateWaitGame::InternalHandlePacket(boost::shared_ptr<ClientThread> client
else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_rejectInvNotifyMessage) else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_rejectInvNotifyMessage)
{ {
RejectInvNotifyMessage_t *netRejNotify = &tmpPacket->GetMsg()->choice.rejectInvNotifyMessage; RejectInvNotifyMessage_t *netRejNotify = &tmpPacket->GetMsg()->choice.rejectInvNotifyMessage;
client->GetCallback()->SignalPlayerGameInvitation( client->GetCallback().SignalPlayerGameInvitation(
netRejNotify->gameId, netRejNotify->gameId,
netRejNotify->playerId, netRejNotify->playerId,
static_cast<DenyGameInvitationReason>(netRejNotify->playerRejectReason)); static_cast<DenyGameInvitationReason>(netRejNotify->playerRejectReason));