Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Action *a = actionFromAbilitySlot(managers->commandManager, e, 0);
- a = actionTargetEntity(a, target);
- if (!entityGet(ActionInvalidComponent)(a)){
- entityPushCommand(e, a);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement