summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-07 20:28:47 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-07 20:28:47 +0100
commit8c4d829ecf562112d65cac8e97831d57c3a82a36 (patch)
treebe58362c1e9b0e8cdfd47af837943db9366c5080 /crawl-ref
parent316462f8ec9f966b750a9e8724dfe173e5503c77 (diff)
downloadcrawl-ref-8c4d829ecf562112d65cac8e97831d57c3a82a36.tar.gz
crawl-ref-8c4d829ecf562112d65cac8e97831d57c3a82a36.zip
Slight reordering in get_weapon_offset().
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/tilemcache.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/tilemcache.cc b/crawl-ref/source/tilemcache.cc
index 94381eb718..ceed86f93d 100644
--- a/crawl-ref/source/tilemcache.cc
+++ b/crawl-ref/source/tilemcache.cc
@@ -460,11 +460,6 @@ bool mcache_monster::get_weapon_offset(int mon_tile, int &ofs_x, int &ofs_y)
ofs_x = -4;
ofs_y = -2;
break;
- // Shift downwards and to the left.
- case TILEP_MONS_HELL_KNIGHT:
- ofs_x = -1;
- ofs_y = 3;
- break;
// Shift upwards and to the right.
case TILEP_MONS_WIZARD:
ofs_x = 2;
@@ -474,6 +469,11 @@ bool mcache_monster::get_weapon_offset(int mon_tile, int &ofs_x, int &ofs_y)
ofs_x = 2;
ofs_y = -3;
break;
+ // Shift downwards and to the left.
+ case TILEP_MONS_HELL_KNIGHT:
+ ofs_x = -1;
+ ofs_y = 3;
+ break;
// Shift downwards and to the right.
case TILEP_MONS_BIG_KOBOLD:
ofs_x = 2;