[works for me] FS timing problem

Bugs that have been resolved.

Moderator: Graf Zahl

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

[works for me] FS timing problem

Post by Planky »

This wad has the following script within it:

Code: Select all

[scripts]

script 1
{
 while(1)
 {
  if(objsector(playerobj(0)) == 1)
  {
   healobj(playerobj(0),1);
  }
 wait(100);
 }
}
When run in Legacy, the player gains 1 health point per second while in the necessary sector. In GZDoom (the latest version), it adds approx 4 health points every second.

Any idea's?

Edit: Why on earth are WAD files being blocked from uploading?
Attachments
fraggle_healobj_01.rar
(717 Bytes) Downloaded 58 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

No idea why you are having problems but I just tested it with my current code and the timing worked correctly.
Locked

Return to “Closed Bugs”