]> granicus.if.org Git - nethack/commit
Fold `get_wet()` into `water_damage()`.
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Tue, 24 Feb 2015 20:26:09 +0000 (15:26 -0500)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Mon, 2 Mar 2015 17:50:01 +0000 (12:50 -0500)
commit3acd3c4a0058e72a29bc5b8e2a9b6877d23a0f1e
treedc2cdb16760353d4d96b30f269c752f76bd80824
parent57dcad377405dc480bd29b453dca8c362722e838
Fold `get_wet()` into `water_damage()`.

This now ensures that dipping into water works like other sources of
water damage. There is a potentially significant gameplay change here:
dipping a container into uncursed water will wet all its contents. If
this is a problem, then we should add another parameter to water_damage
which will suppress this behaviour for dipping.
doc/fixes35.0
include/extern.h
src/fountain.c
src/potion.c
src/trap.c