Multiplayer suicide message was empty string (#170)

# Conflicts:
#	.gitignore
This commit is contained in:
CommonLoon102 2019-09-17 12:16:05 +00:00 committed by Christoph Oelckers
parent 81f78c24b7
commit 160c93f0ab
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View file

@ -57,6 +57,7 @@ project.xcworkspace/
.DS_Store
._*
/autoload
/movie
/blud*.png
/*.DEM

View file

@ -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
{