- Duke: Fix pos issues with crane's touchplate following position change to sprite.

This commit is contained in:
Mitchell Richters 2022-11-16 16:33:41 +11:00 committed by Christoph Oelckers
parent 4e4e457cfe
commit 0ab175b894

View file

@ -87,7 +87,7 @@ class DukeCrane : DukeActor
case STAT_STANDABLE:
case STAT_PLAYER:
self.angle = (self.polepos - self.pos.XY).Angle();
a2.SetPosition(( self.polepos, a2.pos.Z ));
if (a2.statnum != STAT_PLAYER) a2.SetPosition(( self.polepos, a2.pos.Z ));
self.temp_data[0]++;
return;
}