mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
Multiplayer suicide message was empty string (#170)
# Conflicts: # .gitignore
This commit is contained in:
parent
81f78c24b7
commit
160c93f0ab
3 changed files with 6 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -57,6 +57,7 @@ project.xcworkspace/
|
|||
|
||||
.DS_Store
|
||||
._*
|
||||
/autoload
|
||||
/movie
|
||||
/blud*.png
|
||||
/*.DEM
|
||||
|
|
|
@ -501,7 +501,7 @@ void netGetPackets(void)
|
|||
pPacket += 4;
|
||||
if (*pPacket != '/' || (*pPacket == 0 && *(pPacket+1) == 0) || (*(pPacket+1) >= '1' && *(pPacket+1) <= '8' && *(pPacket+1)-'1' == myconnectindex))
|
||||
{
|
||||
sprintf(buffer, "%s : %s", gProfile[nPlayer].name, pPacket);
|
||||
sprintf(buffer, "%s: %s", gProfile[nPlayer].name, pPacket);
|
||||
viewSetMessage(buffer);
|
||||
sndStartSample("DMRADIO", 128, -1);
|
||||
}
|
||||
|
|
|
@ -2033,6 +2033,10 @@ void playerFrag(PLAYER *pKiller, PLAYER *pVictim)
|
|||
if (gGameOptions.nGameType > 0 && nSound >= 0)
|
||||
sndStartSample(nSound, 255, 2, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(buffer, gSuicide[nMessage].at0, gProfile[nVictim].name);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue