- [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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user