Duke3D: Bug with custom sprite elevator in E3L6 of "The Gate" (move velocity set to 0 if player is standing on it)
Similarly to the Grins of Divinity issue, this bug involves custom CON code. The Gate uses a sprite elevator that moves upwards if shot, or if the player presses use on it. However, while the player is standing on this elevator, it appears that the upwards velocity of the platform is completely cancelled, and not restored even when the player gets off the platform.
Starting from revision 1eb95599, the platform no longer moves up when the player is standing on it -- he needs to jump first in order to get it to move. From then on, even if the player lands on it again, it will move to its destination.
As of revision 06d30faf, the velocity from the definition move elevupspeed 0 -100
, triggered through ai AIELEVUP ELEVATOR elevupspeed geth getv
appears to be set to 0 if the player is standing on it, and is no longer restored after he gets off. This breaks the platform completely, and makes it unable to move any further, preventing level progression.
I attached the CON file with the necessary code, as well as the map needed to test the issue. The sprite platform you find in the middle is the object in question.