mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@1833 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
148f3cadef
commit
2f5a8a0f6b
2 changed files with 3 additions and 4 deletions
|
@ -1864,14 +1864,13 @@ static void updatesprite1(int16_t i)
|
|||
{
|
||||
setsprite(i, (vec3_t *)&sprite[i]);
|
||||
|
||||
if ((sprite[i].cstat&48)!=32 && sprite[i].sectnum>=0)
|
||||
if (sprite[i].sectnum>=0)
|
||||
{
|
||||
int32_t tempint, cz, fz;
|
||||
tempint = spriteheight(i, NULL);
|
||||
if (sprite[i].cstat&128)
|
||||
tempint >>= 1;
|
||||
cz = getceilzofslope(sprite[i].sectnum, sprite[i].x,sprite[i].y);
|
||||
fz = getflorzofslope(sprite[i].sectnum, sprite[i].x,sprite[i].y);
|
||||
getzsofslope(sprite[i].sectnum, sprite[i].x, sprite[i].y, &cz, &fz);
|
||||
sprite[i].z = max(sprite[i].z, cz+tempint);
|
||||
sprite[i].z = min(sprite[i].z, fz);
|
||||
}
|
||||
|
|
|
@ -853,8 +853,8 @@ const char *SectorEffectorTagText(int32_t lotag)
|
|||
"CONVAYER BELT",
|
||||
"ENGINE", // 25
|
||||
"(UNKNOWN)",
|
||||
"LIGHTNING (H= TILE#4890)",
|
||||
"CAMERA FOR PLAYBACK",
|
||||
"LIGHTNING (H= TILE#4890)",
|
||||
"FLOAT",
|
||||
"2 WAY TRAIN (ST=31)", // 30
|
||||
"FLOOR RISE",
|
||||
|
|
Loading…
Reference in a new issue