Space Rock monsters now drop treasure only if in Space Rock land

This commit is contained in:
Zeno Rogue 2024-03-27 17:24:11 +01:00
parent 14b68f0b64
commit 84ada5184f
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
// a reward for killing him before he shoots!
c->item = itOrbDragon;
}
if(m == moAsteroid && !shmup::on && c->item == itNone && c->wall != waChasm) {
if(m == moAsteroid && !shmup::on && c->item == itNone && c->wall != waChasm && c->land == laAsteroids) {
c->item = itAsteroid;
changes.value_add(splitrocks, 2);
}