From 601607488ae529b7dfd9bd55afd0e89e42762281 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 Oct 2014 19:19:02 +0300 Subject: Dehardcode default spells/commands. Read commands from defaultcommands.xml. Also improve a bit saving commands in spellmanager. --- src/defaults.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/defaults.cpp') diff --git a/src/defaults.cpp b/src/defaults.cpp index edfd8c45d..a383c02f6 100644 --- a/src/defaults.cpp +++ b/src/defaults.cpp @@ -570,6 +570,9 @@ DefaultsData* getPathsDefaults() AddDEF("deadMessagesFile", "deadmessages.xml"); AddDEF("deadMessagesPatchFile", "deadmessages_patch.xml"); AddDEF("deadMessagesPatchDir", "deadmessages.d"); + AddDEF("defaultCommandsFile", "defaultcommands.xml"); + AddDEF("defaultcommandsPatchFile", "defaultcommands_patch.xml"); + AddDEF("defaultcommandsPatchDir", "defaultcommands.d"); AddDEF("poisonEffectName", "poison"); return configData; -- cgit v1.2.3-60-g2f50