Fixed that issue with spectators not being able to go above FOFs. I guess it just wasn't getting initialised properly on first join!

This commit is contained in:
toasterbabe 2017-06-04 00:43:34 +01:00
parent 9d0212b9ec
commit 1eaf35854d

View file

@ -2754,6 +2754,8 @@ void G_AddPlayer(INT32 playernum)
p->jointime = 0;
p->playerstate = PST_REBORN;
p->height = mobjinfo[MT_PLAYER].height;
if (G_GametypeUsesLives())
p->lives = cv_startinglives.value;