mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
game.c: fix last step of p->visibility approaching ud.const_visibility.
git-svn-id: https://svn.eduke32.com/eduke32@4401 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
833fe67826
commit
da0c6d00ca
1 changed files with 3 additions and 0 deletions
|
@ -4794,7 +4794,10 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio)
|
|||
const int32_t visinc = visdif>>2;
|
||||
|
||||
if (klabs(visinc) == 0)
|
||||
{
|
||||
p->visibility = ud.const_visibility;
|
||||
break;
|
||||
}
|
||||
|
||||
p->visibility += visinc;
|
||||
lastvist = totalclock;
|
||||
|
|
Loading…
Reference in a new issue