- [NEW] Ja funciona el tema de les parts
This commit is contained in:
@@ -202,6 +202,12 @@ namespace room
|
||||
actor::remove(act);
|
||||
act = nullptr;
|
||||
}
|
||||
} else if (act->name[0]=='G') { // Es un ghost d'una part
|
||||
if (actor::hero::wasPartCollected(&act->name[2]))
|
||||
{
|
||||
act->flags &= ~FLAG_ANIMATED;
|
||||
act->bmp_rect.x += act->bmp_rect.w;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (act) actor::setDirty(act, true);
|
||||
|
||||
Reference in New Issue
Block a user