summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-01 17:11:04 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-01 17:11:04 +0000
commit48917b14199931161c383bf4ff30db2323e1eccb (patch)
treec133f2dfce0169a5990f0ed6b3fbefe7178eb983 /crawl-ref/source/newgame.cc
parent11a4b4ecd53ec83ab4c92c4896566aeebe06ccc1 (diff)
downloadcrawl-ref-48917b14199931161c383bf4ff30db2323e1eccb.tar.gz
crawl-ref-48917b14199931161c383bf4ff30db2323e1eccb.zip
Fix 2578980: mouseclicks in character selection screen treated as
(non-alphanumeric) characters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9875 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index c92c7c7d41..a087f4b735 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -680,8 +680,7 @@ static unsigned char _random_potion_description()
// qualifiers.
}
while (colour == PDC_CLEAR && nature > PDQ_VISCOUS
- || desc == PDESCS(PDC_CLEAR)
- || desc == PDESCQ(PDQ_GLUGGY, PDC_WHITE));
+ || desc == PDESCS(PDC_CLEAR));
return static_cast<unsigned char>(desc);
}