Entering special room, wake up only that room
... instead of doing a level-wide wake-up. Fixes #429
This commit is contained in:
@@ -495,6 +495,8 @@ change "killed by <a foo>, while {paralyzed|frozen} by <a foo>" into
|
||||
hero's helplessness
|
||||
"It looks very angry" would be given if a hero wielding Excalibur or Demonbane
|
||||
offended an unseen demon lord
|
||||
Entering a special room, only wake up the monsters in that room instead of
|
||||
doing a level-wide wake-up
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
|
||||
@@ -2650,6 +2650,9 @@ check_special_room(boolean newlev)
|
||||
for (mtmp = fmon; mtmp; mtmp = mtmp->nmon) {
|
||||
if (DEADMONSTER(mtmp))
|
||||
continue;
|
||||
if (!isok(mtmp->mx,mtmp->my)
|
||||
|| roomno != levl[mtmp->mx][mtmp->my].roomno)
|
||||
continue;
|
||||
if (!Stealth && !rn2(3))
|
||||
mtmp->msleeping = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user