diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-04 19:46:43 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-04 19:46:43 +0000 |
commit | 100aaf9b67b44978c470e4885dffbb699e5c0391 (patch) | |
tree | f56accb0a0fd63cb238a1714ab4c3c484b327719 /crawl-ref | |
parent | b3a3bad39725ab7c3a59ac3c0bd9fc6b999d7d0a (diff) | |
download | crawl-ref-100aaf9b67b44978c470e4885dffbb699e5c0391.tar.gz crawl-ref-100aaf9b67b44978c470e4885dffbb699e5c0391.zip |
Fix comment typos.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3191 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/beam.cc | 6 | ||||
-rw-r--r-- | crawl-ref/source/monstuff.cc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 3300e2ca5c..65ba80d43a 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -1244,7 +1244,7 @@ static void zappy( zap_type z_type, int power, bolt &pbolt ) // Affect monster in wall unless it can shield itself using the wall // (M_WALL_SHIELDED). The wall will always shield the monster if the // beam bounces off the wall, and a monster can't use a metal wall to -// shield itself from electricty. +// shield itself from electricity. static bool affect_mon_in_wall(bolt &pbolt, item_def *item, int tx, int ty) { UNUSED(item); @@ -1259,8 +1259,8 @@ static bool affect_mon_in_wall(bolt &pbolt, item_def *item, int tx, int ty) && (grd[tx][ty] != DNGN_METAL_WALL || !pbolt.flavour != BEAM_ELECTRICITY))) { - monsters *mons = &menv[mid]; - if (!mons_class_flag(mons->type, M_WALL_SHIELDED)) + monsters *mon = &menv[mid]; + if (!mons_class_flag(mon->type, M_WALL_SHIELDED)) return true; } diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index ebddf0e1d3..11aa649b11 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -1773,7 +1773,7 @@ void behaviour_event( monsters *mon, int event, int src, // 2. Sets monster targetx,y based on current foe // // XXX: Monsters of I_NORMAL or above should select a new target -// if their current target is another monser which is sitting in +// if their current target is another monster which is sitting in // a wall and is immune to most attacks while in a wall // (M_WALL_SHIELDED), unless the monster has a spell or special/nearby // ability which isn't affected by M_WALL_SHIELDED. |