summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/descript
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-01-02 17:02:30 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-01-02 17:06:11 +1000
commitcc5602c5e88b63d1db30bcdc34bee791768c5666 (patch)
tree4c18efebf7d98a3fa70bf8755337ae552a66c386 /crawl-ref/source/dat/descript
parent2bd7c49b579df905f1fe4d880051716d6649aaf8 (diff)
downloadcrawl-ref-cc5602c5e88b63d1db30bcdc34bee791768c5666.tar.gz
crawl-ref-cc5602c5e88b63d1db30bcdc34bee791768c5666.zip
Fix MP+X property in unrands (Mantis #294, Vandal).
calc_mp() only seemed to be called when games are loaded, meaning that putting on the unrand Hat of Pondering did not cause the player's max MP to immediately increase. Saving and reloading fixed this. The same happened with removing the hat: the player's max MP stays at the same value as when the hat was worn. Saving and reloading also fixed this. Fixed this by calling calc_mp(), and also cleaned up the code slightly. It still doesn't seem to be printing the "Your magic increases/decreases" messages, however.
Diffstat (limited to 'crawl-ref/source/dat/descript')
0 files changed, 0 insertions, 0 deletions