mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
readMonster returns Pike for 'Pike' instead of Pikeman
This commit is contained in:
parent
a12bdf5d40
commit
7121742d7c
@ -33,6 +33,7 @@ EX eItem readItem(const string& ss) {
|
||||
}
|
||||
|
||||
EX eMonster readMonster(const string& ss) {
|
||||
if(ss == "Pike") return moPike;
|
||||
for(int i=0; i<motypes; i++) if(appears(minf[i].name, ss)) {
|
||||
return eMonster(i);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user