We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f826a6 commit 789b216Copy full SHA for 789b216
TheForceEngine/TFE_DarkForces/Actor/actor.cpp
@@ -652,7 +652,10 @@ namespace TFE_DarkForces
652
corpse->frame = 0;
653
corpse->anim = animIndex;
654
corpse->posWS.x = obj->posWS.x;
655
- corpse->posWS.y = (sector->colSecHeight < obj->posWS.y) ? sector->colSecHeight : obj->posWS.y;
+ // The original code here was:
656
+ // corpse->posWS.y = (sector->colSecHeight < obj->posWS.y) ? sector->colSecHeight : obj->posWS.y;
657
+ // This causes corpses to always end up on top of bridges in vanilla DF, even if the actor dies under the bridge
658
+ corpse->posWS.y = obj->posWS.y;
659
corpse->posWS.z = obj->posWS.z;
660
corpse->worldHeight = 0;
661
corpse->worldWidth = 0;
0 commit comments