pull request #1024 - keep hero movement points
Pull request from saltwaterterrapin: record current move's pending movement points in save file. They were being thrown away during save and hero given 12 at time of restore. Hero had to have had at least 12 in order for player to issue the S command, but might have had more than that if able to move faster than normal speed. This implements it differently from the suggested commit. Add new field umovement to 'struct u' instead of using youmonst.movement and needing to save and restore that separately. Invalidates existing save and bones files. Closes #1024
This commit is contained in:
@@ -1192,6 +1192,7 @@ skip sanity_check handling when current command is ^P, otherwise it might
|
||||
line-at-a-line feedback
|
||||
applying a cream pie (always) or lump of royal jelly (sometimes) would use up
|
||||
the object and then access its memory after that had been freed
|
||||
keep track of hero's pending movement points across save and restore
|
||||
|
||||
|
||||
Fixes to 3.7.0-x General Problems Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user