[fixed] FS Bug: ceilheight/floorheight

Bugs that have been resolved.

Moderator: Graf Zahl

Planky
Posts: 25
Joined: Sun Sep 04, 2005 8:41

[fixed] FS Bug: ceilheight/floorheight

Post by Planky »

http://pages.quicksilver.net.nz/druids/testwad.wad

The above wad has a simple 3d elevator, it lifts to 128 then restarts from the the bottom.

It works fine in Legacy, but in GZDoom it doesn't stop raising.

Code: Select all

[scripts]

script 2
{
 while(1)
 {
  ceilheight(2,ceilheight(2)+2);
  floorheight(2,floorheight(2)+2);
  if(ceilheight(2) > 128)
  {
   tip("boo"); //check if if() fires
   floorheight(2,4);
   ceilheight(2,12);
  }
  wait(1);
 }
}startscript(2);
It displays the tip, but doesn't change the floor/ceiling height.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Fixed. And thanks for the map that made it so much easier to find this. This also fixes the elevator in MAP01 of Nimrod, btw.

Return to “Closed Bugs”