finally finished but not eating
Finally apply the patch sent by <Someone> in 11/2003 for slashem-Bugs-799278, updated to match the current code and handle additional cases. The fix is brute force: always ensure nomovemsg is set when nomul is called with a negative value. I also scanned the code for places manually setting multi negative, they all set nomovemsg. It would be nice to have a function that did the right thing, but there are several special cases and I was not feeling creative.
This commit is contained in:
@@ -44,6 +44,7 @@ stoned_dialogue()
|
||||
case 3: /* limbs turned to stone */
|
||||
stop_occupation();
|
||||
nomul(-3); /* can't move anymore */
|
||||
nomovemsg = 0;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -1239,6 +1240,7 @@ do_storms()
|
||||
if(!u.uinvulnerable) {
|
||||
stop_occupation();
|
||||
nomul(-3);
|
||||
nomovemsg = 0;
|
||||
}
|
||||
} else
|
||||
You_hear("a rumbling noise.");
|
||||
|
||||
Reference in New Issue
Block a user