mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Revert 'move sprites with ceiling/floor'-behaviour, maybe fix tile drawing?
git-svn-id: https://svn.eduke32.com/eduke32@1862 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a1c4c6dce7
commit
5d91ec502a
1 changed files with 3 additions and 4 deletions
|
@ -3780,12 +3780,11 @@ static int32_t DrawTiles(int32_t iTopLeft, int32_t iSelected, int32_t nXTiles, i
|
|||
int32_t usehitilecnt=0, usehitile;
|
||||
static uint8_t loadedhitile[(MAXTILES+7)>>3];
|
||||
|
||||
begindrawing();
|
||||
|
||||
setpolymost2dview();
|
||||
|
||||
clearview(0);
|
||||
|
||||
begindrawing();
|
||||
|
||||
restart:
|
||||
for (YTile = 0-(offset>0); YTile < nYTiles+(offset<0)+1; YTile++)
|
||||
{
|
||||
|
@ -5435,7 +5434,7 @@ static void Keys3d(void)
|
|||
for (i=headspritesect[sect]; i!=-1; i=nextspritesect[i])
|
||||
{
|
||||
spriteoncfz(i, &cz, &fz);
|
||||
if ((moveCeilings && sprite[i].z <= cz) || (moveFloors && sprite[i].z >= fz))
|
||||
if ((moveCeilings && sprite[i].z == cz) || (moveFloors && sprite[i].z == fz))
|
||||
sprite[i].z += tsign * (updownunits << (eitherCTRL<<1)); // JBF 20031128
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue