- Molts gràfics més
- [FIX] Els actors amb moviment no es movien.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user