Skip to content

Commit

Permalink
Fix build: Missing changes in GAME_SendMessageToGameClients
Browse files Browse the repository at this point in the history
  • Loading branch information
Lectem committed Dec 30, 2023
1 parent 07f942f commit ef05b27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/D2Game/src/GAME/Game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3131,13 +3131,13 @@ void __stdcall GAME_SendMessageToGameClients(uint16_t nGameId, char* szMessage)
D2GameStrc* pGame = GAME_LockGame(nGUID);
D2_ASSERT(pGame);

a2[255] = 0;
if (!strncmp("<ABEND> ", a2, 8u))
szMessage[255] = 0;
if (!strncmp("<ABEND> ", szMessage, 8u))
{
pGame->unk0x1DDC = a2[8] & 0xF;
pGame->unk0x1DDC = szMessage[8] & 0xF;
}

sub_6FC84CD0(pGame, a2, 1u);
sub_6FC84CD0(pGame, szMessage, 1u);

D2_UNLOCK(pGame->lpCriticalSection);
}
Expand Down

0 comments on commit ef05b27

Please sign in to comment.