]> granicus.if.org Git - nethack/commit
U897: kicking while in the air
authorcohrs <cohrs>
Fri, 26 Mar 2004 19:26:37 +0000 (19:26 +0000)
committercohrs <cohrs>
Fri, 26 Mar 2004 19:26:37 +0000 (19:26 +0000)
commit019837d03f7a888781d85102da99996ea070fdef
tree9b8de093c5fe5d30fd1b0fc1181654609f07f815
parent607f63e5fd9ef2db44ffbb059bca13c2c1de33e9
U897: kicking while in the air
If you kick something while in the air (i.e. on the Air level or while
in a bubble on the water level), 1) greased objects were treated specially
and 2) messages were given about the object sliding.
- add checks for kicking in the air, and always increased distance a bit
(I didn't add any checks to deal with the transition from air to water or
visa versa)
- don't set the flag that causes the "slides" message in these cases either
doc/fixes35.0
src/dokick.c