diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-11-21 00:41:19 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-11-21 00:42:56 +0100 |
commit | dcdf8ea245f68bb695b613bb9fcc2c80fdc3fba5 (patch) | |
tree | 3261e1513e89edcdc355383944ca4303a370a4a2 /crawl-ref/source/trap_def.h | |
parent | 4720106fa1c727c417e5a823a22bde2d635a3e28 (diff) | |
download | crawl-ref-dcdf8ea245f68bb695b613bb9fcc2c80fdc3fba5.tar.gz crawl-ref-dcdf8ea245f68bb695b613bb9fcc2c80fdc3fba5.zip |
Simplify.
There's no point in message_trap_entry() if it's used only for a single trap
type. The message can be given in the switch, like every single other trap
does.
Diffstat (limited to 'crawl-ref/source/trap_def.h')
-rw-r--r-- | crawl-ref/source/trap_def.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/trap_def.h b/crawl-ref/source/trap_def.h index 4ae0881780..dddfcf72d1 100644 --- a/crawl-ref/source/trap_def.h +++ b/crawl-ref/source/trap_def.h @@ -23,7 +23,6 @@ struct trap_def int max_damage(const actor& act); private: - void message_trap_entry(); void shoot_ammo(actor& act, bool was_known); item_def generate_trap_item(); int shot_damage(actor& act); |