- WH: Fix bad check in dead player horizon code.

This commit is contained in:
Mitch Richters 2021-11-21 22:58:26 +11:00 committed by Christoph Oelckers
parent 3caf334ed5
commit 113e019821

View file

@ -218,7 +218,7 @@ void processinput(int num) {
if (plr.health <= 0) {
playerdead(plr);
if (plr.dead) {
if (plr.horizon.horiz.asbuild() < gi->playerHorizMax())
if (plr.horizon.horiz.asq16() < gi->playerHorizMax())
plr.horizon.addadjustment(TICSPERFRAME << 1);
}
return;