Commit 1a89d7a
committed
Fix: dipping into restore ability with no effect resulted in insane obj
The code always returned early, rather than only returning early when
the potion got used up. In cases where the potion didn't do anything,
this resulted in in_use still being set (and no "Interesting..." message
being produced), causing sanity check failures.1 parent a006bf8 commit 1a89d7a
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3122 | 3122 | | |
3123 | 3123 | | |
3124 | 3124 | | |
3125 | | - | |
| 3125 | + | |
3126 | 3126 | | |
3127 | | - | |
| 3127 | + | |
| 3128 | + | |
3128 | 3129 | | |
3129 | 3130 | | |
3130 | 3131 | | |
| |||
0 commit comments