summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilemcache.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-07 20:27:47 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-01-07 20:27:47 +0100
commit316462f8ec9f966b750a9e8724dfe173e5503c77 (patch)
treeadcd75827ffad310ff0fdab1c749a6862bc21f28 /crawl-ref/source/tilemcache.cc
parenta78feb871beaa20250f0701506b61eb2c8a58993 (diff)
downloadcrawl-ref-316462f8ec9f966b750a9e8724dfe173e5503c77.tar.gz
crawl-ref-316462f8ec9f966b750a9e8724dfe173e5503c77.zip
Correct comments in get_weapon_offset()
Diffstat (limited to 'crawl-ref/source/tilemcache.cc')
-rw-r--r--crawl-ref/source/tilemcache.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/tilemcache.cc b/crawl-ref/source/tilemcache.cc
index 3597fc9e3d..94381eb718 100644
--- a/crawl-ref/source/tilemcache.cc
+++ b/crawl-ref/source/tilemcache.cc
@@ -366,7 +366,7 @@ bool mcache_monster::get_weapon_offset(int mon_tile, int &ofs_x, int &ofs_y)
ofs_x = 0;
ofs_y = 0;
break;
- // Shift upwards.
+ // Shift to the left.
case TILEP_MONS_GNOLL:
case TILEP_MONS_GRUM:
case TILEP_MONS_CRAZY_YIUF:
@@ -378,7 +378,7 @@ bool mcache_monster::get_weapon_offset(int mon_tile, int &ofs_x, int &ofs_y)
ofs_x = -2;
ofs_y = 0;
break;
- // Shift downwards.
+ // Shift to the right.
case TILEP_MONS_YAKTAUR_MELEE:
ofs_x = 2;
ofs_y = 0;
@@ -387,7 +387,7 @@ bool mcache_monster::get_weapon_offset(int mon_tile, int &ofs_x, int &ofs_y)
ofs_x = 4;
ofs_y = 0;
break;
- // Shift to the left.
+ // Shift upwards.
case TILEP_MONS_CENTAUR_WARRIOR_MELEE:
case TILEP_MONS_DEEP_ELF_SORCERER:
case TILEP_MONS_DEEP_ELF_HIGH_PRIEST:
@@ -402,7 +402,7 @@ bool mcache_monster::get_weapon_offset(int mon_tile, int &ofs_x, int &ofs_y)
ofs_x = 0;
ofs_y = -10;
break;
- // Shift to the right.
+ // Shift downwards.
case TILEP_MONS_DEEP_ELF_KNIGHT:
case TILEP_MONS_NAGA:
case TILEP_MONS_GREATER_NAGA:
@@ -460,12 +460,12 @@ bool mcache_monster::get_weapon_offset(int mon_tile, int &ofs_x, int &ofs_y)
ofs_x = -4;
ofs_y = -2;
break;
- // Shift upwards and to the right.
+ // Shift downwards and to the left.
case TILEP_MONS_HELL_KNIGHT:
ofs_x = -1;
ofs_y = 3;
break;
- // Shift downwards and to the left.
+ // Shift upwards and to the right.
case TILEP_MONS_WIZARD:
ofs_x = 2;
ofs_y = -2;