Skip to content

Commit 1802377

Browse files
authored
[GEN][ZH] Fix potential bug or crash when denying a Buddy Request in the Online Communicator (#1153)
1 parent cbb4de6 commit 1802377

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Generals/Code/GameEngine/Source/GameNetwork/GameSpy/Thread/BuddyThread.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ void BuddyThreadClass::Thread_Function()
360360
{
361361
gpDenyBuddyRequest( con, incomingRequest.arg.profile.id );
362362
}
363+
break;
363364
case BuddyRequest::BUDDYREQUEST_SETSTATUS:
364365
{
365366
//don't blast our 'Loading' status with 'Online'.

GeneralsMD/Code/GameEngine/Source/GameNetwork/GameSpy/Thread/BuddyThread.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ void BuddyThreadClass::Thread_Function()
360360
{
361361
gpDenyBuddyRequest( con, incomingRequest.arg.profile.id );
362362
}
363+
break;
363364
case BuddyRequest::BUDDYREQUEST_SETSTATUS:
364365
{
365366
//don't blast our 'Loading' status with 'Online'.

0 commit comments

Comments
 (0)