- Molts gràfics més

- [FIX] Els actors amb moviment no es movien.
This commit is contained in:
2024-06-17 14:29:28 +02:00
parent 4f8404e105
commit e399e287ae
8 changed files with 112 additions and 42 deletions

View File

@@ -162,6 +162,7 @@ namespace actor
return t;
}
}
if (t->flags&FLAG_MOVING) t->mov_push = t->orient;
return t;
}
return nullptr;
@@ -522,6 +523,7 @@ namespace actor
void updateMoving(actor_t *act)
{
if (act->flags&FLAG_MOVING && act->mov_push==0) act->mov_push = act->orient; // Per a activar-lo si no ho està
act->push |= act->mov_push;
}