mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-27 07:52:25 +01:00
Merge pull request #1908 from gebulmer/fix/wraithworm
Fix sanityflag variant of monster parser
This commit is contained in:
commit
e9cbc5fd3f
1 changed files with 7 additions and 0 deletions
|
@ -861,6 +861,13 @@ monster_detail : MONSTER_ID chance ':' monster_c ',' m_name ',' coordinate '[' S
|
|||
Free($6);
|
||||
}
|
||||
}
|
||||
monster_infos
|
||||
{
|
||||
if (++nmons >= MAX_OF_TYPE) {
|
||||
yyerror("Too many monsters in room or mazepart!");
|
||||
nmons--;
|
||||
}
|
||||
}
|
||||
| MONSTER_ID chance ':' monster_c ',' m_name ',' coordinate
|
||||
{
|
||||
tmpmonst[nmons] = New(monster);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue