[refactoring5]: Duke: Weird issue in E1L2.

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
mjr4077au
Posts: 834
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia

[refactoring5]: Duke: Weird issue in E1L2.

Post by mjr4077au »

Hard to quite describe this one.

In the sewer of this level (secret part of the stage), there's an imprisioned babe but you can't shoot her until you fall into the sewerage, which changes her position.



In 1.5.0, she either is in place by the time you get there, or if you're fast enough you can see her fall into place and can shoot/free her.



It seems that if you reload E1L2 from the console, this doesn't happen a 2nd time around, but definitely happens from first launch on a legit playthrough and transition from E1L1 to E1L2.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [refactoring5]: Duke: Weird issue in E1L2.

Post by Graf Zahl »

I was unable to reproduce this. The code responsible is in actor.cpp, movefta and all my tests confirmed it was working as intended. There was also no fix being injected here - my backup from before advancing master has the same content for this function.
If you still can reproduce this, please add debug output for the second 'cansee' call - especially the value of 'timetosleep'' in there and post it here.
The only explanation I havr for this actor remaining inert is that timetosleep has turned negative but I cannot see how this can realistically happen shortly after map start.
User avatar
mjr4077au
Posts: 834
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia

Re: [refactoring5]: Duke: Weird issue in E1L2.

Post by mjr4077au »

Return to “Closed Bugs [Raze]”