Don't disable player's collision shape in TCL (#5435)

pull/578/head
Capostrophic 5 years ago
parent 505a5e9ca6
commit 577786f110

@ -19,6 +19,7 @@
Bug #5424: Creatures do not headtrack player
Bug #5425: Poison effect only appears for one frame
Bug #5427: GetDistance unknown ID error is misleading
Bug #5435: Enemies can't hurt the player when collision is off
Bug #5441: Enemies can't push a player character when in critical strike stance
Feature #5362: Show the soul gems' trapped soul in count dialog

@ -648,7 +648,7 @@ namespace MWPhysics
bool cmode = found->second->getCollisionMode();
cmode = !cmode;
found->second->enableCollisionMode(cmode);
found->second->enableCollisionBody(cmode);
// NB: Collision body isn't disabled for vanilla TCL compatibility
return cmode;
}

Loading…
Cancel
Save