as "2-headed hydra". Also, increase maximum number of hydra heads to 20, since an 19 headed hydra can become a 20 headed one but a 20 headed one can't become 21 headed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7806 c06c8d41-db1a-0410-9941-cceddc491573
O6VLEUCYZVQLFIY3GCAUDQ32YIQ2NSGL4UW74XQ7XHCRXPABS2DQC int nheads = atoi(name.c_str());
int nheads = -1;std::string prefix = name.substr(0, name.find("-"));nheads = atoi(prefix.c_str());if (nheads != 0);else if (prefix == "0")nheads = 0;else{// Might be "two-headed hydra" type string.for (int i = 0; i <= 20; i++)if (number_in_words(i) == prefix){nheads = i;break;}}