From 1f0b02a561dc32e9d8781e7503cc6258bad2cd02 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Tue, 18 Aug 2009 13:46:12 +0000 Subject: Reimplementing playing with dolls ('-' command). Keys are mostly the same as the 0.4 version and are documented. Dolls are no longer limited in what features they can force, so your character can always look like a flaming centaur with wings if that's how you want to present yourself. This shouldn't cause any major breakage with save games or dolls.txt files, although expect some weirdness. Sorry. Also, fixed a bug where barding wasn't appearing on nagas or centaurs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10568 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/macro.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/macro.cc') diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc index 44f4c8b7a3..d6b998cc83 100644 --- a/crawl-ref/source/macro.cc +++ b/crawl-ref/source/macro.cc @@ -1133,6 +1133,11 @@ KeymapContext context_for_command(command_type cmd) if (cmd >= CMD_MIN_TARGET && cmd <= CMD_MAX_TARGET) return KMC_TARGETING; +#ifdef USE_TILE + if (cmd >= CMD_MIN_DOLL && cmd <= CMD_MAX_DOLL) + return KMC_DOLL; +#endif + return KMC_NONE; } -- cgit v1.2.3-54-g00ecf