Mercurial > hg > early-roguelike
comparison rogue4/misc.c @ 300:0250220d8cdd
Fix an assortment of compiler warnings.
A few potential bugs were removed in the process. Much code cleanup
remains to be done.
author | John "Elwin" Edwards |
---|---|
date | Fri, 22 Nov 2019 21:18:27 -0500 |
parents | 0990adf580ee |
children | e52a8a7ad4c5 |
comparison
equal
deleted
inserted
replaced
299:74351bf23e5e | 300:0250220d8cdd |
---|---|
257 check_level(); | 257 check_level(); |
258 } | 258 } |
259 else | 259 else |
260 msg("yum, that tasted good"); | 260 msg("yum, that tasted good"); |
261 | 261 |
262 if (--obj->o_count < 1) | 262 if (--obj->o_count < 1) |
263 { | 263 { |
264 detach(pack, obj); | 264 detach(pack, obj); |
265 discard(obj); | 265 discard(obj); |
266 } | 266 } |
267 } | 267 } |