summaryrefslogtreecommitdiff
path: root/src/q_fireprof.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
committerBardur Arantsson <bardur@scientician.net>2015-12-11 08:09:30 +0100
commit33e7dc3baa6b375efb6d8989ffe3c50511291228 (patch)
tree16c72b093ab53f33be5386a842450da8cdf117cf /src/q_fireprof.cc
parentcc50d2db6418690470ead3faf71e0818eff1b8e4 (diff)
Remove Alchemist class and associated skills/code
Alchemy has always been ridiculously broken and there's been a huge amount of horrible code to support it. Sorry to any fans of Alchemy, but it's got to go.
Diffstat (limited to 'src/q_fireprof.cc')
-rw-r--r--src/q_fireprof.cc17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/q_fireprof.cc b/src/q_fireprof.cc
index b11c9667..c561dbc6 100644
--- a/src/q_fireprof.cc
+++ b/src/q_fireprof.cc
@@ -36,22 +36,9 @@ struct fireproof_settings
static fireproof_settings const *fireproof_get_settings()
{
- static fireproof_settings fireproof_settings_tome =
- { TV_BATERIE, "essence", "essences", 18, 12 };
- static fireproof_settings fireproof_settings_theme =
+ static fireproof_settings fireproof_settings =
{ TV_RUNE2, "rune", "runes", 5, 24 };
-
- if (game_module_idx == MODULE_TOME)
- {
- return &fireproof_settings_tome;
- }
- if (game_module_idx == MODULE_THEME)
- {
- return &fireproof_settings_theme;
- }
- /* If we get here we're in trouble. */
- assert(FALSE);
- return NULL;
+ return &fireproof_settings;
}
/* These constants are how many 'points' each type of item will take