mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +00:00
parent
aeda977bc2
commit
1a21e73cd9
2 changed files with 2 additions and 2 deletions
|
@ -601,7 +601,7 @@ int movesprite_ex_d(DDukeActor* actor, int xchange, int ychange, int zchange, un
|
||||||
if (dasectnum < 0) dasectnum = 0;
|
if (dasectnum < 0) dasectnum = 0;
|
||||||
return result.setSector(dasectnum);
|
return result.setSector(dasectnum);
|
||||||
}
|
}
|
||||||
if ((retval & kHitTypeMask) != kHitSector && (actor->cgg == 0)) spri->ang += 768;
|
if ((retval & kHitTypeMask) > kHitSector && (actor->cgg == 0)) spri->ang += 768;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -428,7 +428,7 @@ int movesprite_ex_r(DDukeActor* actor, int xchange, int ychange, int zchange, un
|
||||||
if (dasectnum < 0) dasectnum = 0;
|
if (dasectnum < 0) dasectnum = 0;
|
||||||
return result.setSector(dasectnum);
|
return result.setSector(dasectnum);
|
||||||
}
|
}
|
||||||
if ((retval & kHitTypeMask) != kHitSector && (actor->cgg == 0)) spri->ang += 768;
|
if ((retval & kHitTypeMask) > kHitSector && (actor->cgg == 0)) spri->ang += 768;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue