summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/arena.cc2
-rw-r--r--crawl-ref/source/debug.cc2
-rw-r--r--crawl-ref/source/spells4.cc4
-rw-r--r--crawl-ref/source/tilepick.cc2
4 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc
index be8174efc1..98c7f4bbbf 100644
--- a/crawl-ref/source/arena.cc
+++ b/crawl-ref/source/arena.cc
@@ -975,7 +975,7 @@ bool arena_veto_place_monster(const mgen_data &mg, bool first_band_member,
{
return (true);
}
-
+
}
return (!arena::allow_bands && !first_band_member
|| arena::banned_glyphs[mons_char(mg.cls)]);
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index 619bfc69fa..3a6a34c8f5 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -2162,7 +2162,7 @@ void debug_item_scan( void )
strcpy(name, mitm[i].name(DESC_PLAIN).c_str());
- const monsters* mon = holding_monster(mitm[i]);
+ const monsters* mon = holding_monster(mitm[i]);
// Don't check (-1,-1) player items or (-2, -2) monster items
// (except to make sure that the monster is alive).
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 2fe715a0f1..6c4163d07e 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -678,7 +678,7 @@ void cast_ignite_poison(int pow)
unwield_item();
was_wielding = true;
}
-
+
item_was_destroyed(item);
destroy_item(item);
}
@@ -2276,7 +2276,7 @@ bool cast_apportation(int pow, const coord_def& where)
// with something at our position.
mprf("Yoink! You pull the item%s to yourself.",
(item.quantity > 1) ? "s" : "");
-
+
if (max_units < item.quantity)
{
item.quantity = max_units;
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 1575a4a355..a6366496c0 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -4397,7 +4397,7 @@ void tile_place_monster(int gx, int gy, int idx, bool foreground, bool detected)
env.tile_fg[ep.x-1][ep.y-1] = t;
const monsters *mon = &menv[idx];
- if (!player_monster_visible(mon)
+ if (!player_monster_visible(mon)
|| mons_is_lurking(mon)
|| (mons_is_mimic(mon->type) && !mons_is_known_mimic(mon))
|| mons_class_flag(mon->type, M_NO_EXP_GAIN))