- [FIX] El piso que mata ja mata

- [FIX] En habitacions amb piso que mata, el piso que es veu baix la porta es el per defecte
This commit is contained in:
2024-09-24 12:43:10 +02:00
parent 5a22961c47
commit e7224cc376
3 changed files with 23 additions and 6 deletions

View File

@@ -984,6 +984,7 @@ namespace actor
{
if ( (act->flags & FLAG_MOVING) && (act->movement==MOV_Z) ) changeMoving(act);
act->push &= ~PUSH_ZN;
if ( (act->flags&FLAG_HERO) && (room::getFloor()==11) ) act->push |= PUSH_KILL;
if ( ((act->flags&FLAG_HERO)==0) || (room::getExit(ZN)==-1) ) return;
room::load(room::getExit(ZN));