Make special levels generate objects with genocided monster classes

If a special level explicitly requests eg. a statue with a genocided
monster class, allow generating it.

Rationale is that those objects were generated before the monsters
became extinct. Also fixes a lua error.
This commit is contained in:
Pasi Kallinen
2020-03-08 14:03:47 +02:00
parent 7b226a12cb
commit f18b5bb59b
4 changed files with 7 additions and 3 deletions

View File

@@ -203,5 +203,6 @@ enum ms_sounds {
#define MV_KNOWS_EGG \
0x0008 /* player recognizes egg of this \
monster type */
#define G_IGNORE 0x1000 /* for mkclass(), ignore G_GENOD|G_EXTINCT */
#endif /* MONFLAG_H */