- [NEW] Anbernics en el lloc i ja se poden recollir

- [CHG] Canviats uns pixels en les portes
- [NEW] Sequencia de final de joc acabada
- [NEW] Al pillar un booster fa sorollet
- Treballant en el prólogo
This commit is contained in:
2024-10-07 13:35:01 +02:00
parent f38d50e7f9
commit fa97ea79e8
30 changed files with 411 additions and 61 deletions

View File

@@ -277,6 +277,12 @@ namespace room
act->flags &= ~FLAG_ANIMATED;
act->bmp_rect.x += act->bmp_rect.w;
}
} else if (act->name[0]=='A') { // Es una anbernic
if (!::editor::isDevMode() && actor::hero::wasAnbernicCollected(act->name))
{
actor::remove(act);
act = nullptr;
}
}
}
if (act) actor::setDirty(act, true);