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:
PatR
2023-05-24 11:16:23 -07:00
parent 6586cc84b2
commit 42356daec0
5 changed files with 18 additions and 13 deletions

View File

@@ -17,7 +17,7 @@
* Incrementing EDITLEVEL can be used to force invalidation of old bones
* and save files.
*/
#define EDITLEVEL 84
#define EDITLEVEL 85
/*
* Development status possibilities.