Project

General

Profile

Bug #4049

Reloading a saved game while falling prevents damage

Added by openmw hardcore about 2 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Physics
Target version:
Start date:
08/30/2017
% Done:

100%

Reproducibility:
Always
Operating system:
Other
Severity:
Minor

Description

1.levitate to a very high altitude
2.dispel levitation
3.quicksave just before hitting the ground
4.quickload
5.you survive the high fall
6.abusive no?

also works when jumping from a high area, like vivec cantons.

Associated revisions

Revision fcb815f2 (diff)
Added by scrawl . about 1 month ago

Move fall height reset into PhysicsSystem (Fixes #4049)

To avoid using onGround before it's actually set.

History

#1 Updated by Andrei Kortunov about 2 months ago

Which OpenMW version are you using?

I can not reproduce this bug with upstream 0.43 code on Linux.

Looks like we do not store falling speed in savegame indeed, but player still takes a full damage from falling, even after reload.

#2 Updated by openmw hardcore about 2 months ago

using v0.42 no nightlies. my character takes little to no damage but not full. it depends on the height of the point of save.

#3 Updated by openmw hardcore about 2 months ago

additionally, if you load your quicksave and move, (by going forward,back,left, or right) your speed increases and you take damage more than if you were stationary.

#4 Updated by Miroslav Remák about 2 months ago

I can reproduce this in 0.42 but not the latest developer version. No idea when this was fixed, though...

#5 Updated by Miroslav Remák about 2 months ago

  • Status changed from New to Closed
  • Target version set to openmw-0.43
  • % Done changed from 0 to 100
  • Operating system changed from Windows to Other

I have bisected this down to 38a2de3c51edd808e5a3acba9e94c8ed11d227dd, which seems completely unrelated but sneakily changes the initial value of MWPhysics::Actor::mOnGround from true to false.

#6 Updated by Andrei Kortunov about 2 months ago

Yes, but this change introduced a regression: mOnGround == false on startup, so a landing animation and sound will be played on game loading.

#7 Updated by scrawl . about 2 months ago

  • Status changed from Closed to Confirmed
  • % Done changed from 100 to 0

completely unrelated but sneakily changes the initial value of MWPhysics::Actor::mOnGround from true to false

woah. Reverted.

#8 Updated by Will Herrmann about 1 month ago

  • Subject changed from you can abuse falling to Reloading a saved game while falling prevents damage

#9 Updated by scrawl . about 1 month ago

  • Target version deleted (openmw-0.43)

#10 Updated by Alexei Dobrohotov about 1 month ago

  • Category changed from General to Save/Load

#11 Updated by scrawl . about 1 month ago

  • Status changed from Confirmed to Closed
  • Assignee set to scrawl .
  • Target version set to openmw-0.43
  • % Done changed from 0 to 100

#12 Updated by scrawl . about 1 month ago

  • Category changed from Save/Load to Physics

Also available in: Atom PDF