- Treballant en arreglar el ordre de dibuixat [WORKING HERE]

This commit is contained in:
2024-06-18 14:29:55 +02:00
parent 5e72414642
commit f6231a6f5c
2 changed files with 5 additions and 4 deletions

View File

@@ -463,7 +463,8 @@ bool game::loop()
{
act = actor::getFirst();
while (act) {
if ((act->flags&FLAG_NOEDITOR)!=FLAG_NOEDITOR && (act->flags&FLAG_HERO)!=FLAG_HERO) {
// [WORKING HERE]
//if ((act->flags&FLAG_NOEDITOR)!=FLAG_NOEDITOR && (act->flags&FLAG_HERO)!=FLAG_HERO) {
if (section==SECTION_ACTOR && act==actor::getSelected()) {
draw::color(LIGHT+BLUE);
draw::fillrect(4, 2+line*9, 92, 9);
@@ -474,7 +475,7 @@ bool game::loop()
}
draw::print(act->name, 14, 4+line*9, LIGHT+WHITE, BLACK);
line++;
}
//}
act = act->next;
}