mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- Duke: Fix z position when on certain cameras following changes in 09a05f354c
.
This commit is contained in:
parent
9c993b9104
commit
6ecbb2587e
1 changed files with 1 additions and 1 deletions
|
@ -625,7 +625,7 @@ void displayrooms(int snum, double smoothratio)
|
||||||
|
|
||||||
if (sprite[p->i].pal == 1) cposz -= (18 << 8);
|
if (sprite[p->i].pal == 1) cposz -= (18 << 8);
|
||||||
|
|
||||||
else if (p->spritebridge == 0)
|
else if (p->spritebridge == 0 && p->newowner < 0)
|
||||||
{
|
{
|
||||||
if (cposz < (p->truecz + (4 << 8))) cposz = cz + (4 << 8);
|
if (cposz < (p->truecz + (4 << 8))) cposz = cz + (4 << 8);
|
||||||
else if (cposz > (p->truefz - (4 << 8))) cposz = fz - (4 << 8);
|
else if (cposz > (p->truefz - (4 << 8))) cposz = fz - (4 << 8);
|
||||||
|
|
Loading…
Reference in a new issue