diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 15:43:43 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:55 +0100 |
commit | 6260b7068a3a2a7941a83a58dcbb4649a25d6265 (patch) | |
tree | 7b83835b2282a171a901ea7889f138a431f45de4 /src/powers.cc | |
parent | 9fd9217477fa39ac7dd7d355e89784af0d2437fe (diff) |
Remove unused HOOK_ACTIVATE_POWER
Diffstat (limited to 'src/powers.cc')
-rw-r--r-- | src/powers.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/powers.cc b/src/powers.cc index ba49716f..662d535a 100644 --- a/src/powers.cc +++ b/src/powers.cc @@ -1249,12 +1249,7 @@ static void power_activate(int power) break; default: - - if (!process_hooks(HOOK_ACTIVATE_POWER, "(d)", power)) - { - msg_format("Warning power_activate() called with invalid power(%d).", power); - energy_use = 0; - } + abort(); break; } |