mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +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) {
|
EX eMonster readMonster(const string& ss) {
|
||||||
|
if(ss == "Pike") return moPike;
|
||||||
for(int i=0; i<motypes; i++) if(appears(minf[i].name, ss)) {
|
for(int i=0; i<motypes; i++) if(appears(minf[i].name, ss)) {
|
||||||
return eMonster(i);
|
return eMonster(i);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user