summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/format.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/format.cc')
-rw-r--r--crawl-ref/source/format.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/format.cc b/crawl-ref/source/format.cc
index 012c64a181..d6c0d343c5 100644
--- a/crawl-ref/source/format.cc
+++ b/crawl-ref/source/format.cc
@@ -429,10 +429,8 @@ int formatted_string::find_last_colour() const
if (!ops.empty())
{
for (int i = ops.size() - 1; i >= 0; --i)
- {
if (ops[i].type == FSOP_COLOUR)
return (ops[i].x);
- }
}
return (LIGHTGREY);
}