Fix LimboHSM compile errors with mono glue
This commit is contained in:
parent
1ef92176b2
commit
f651c9c228
|
@ -126,7 +126,7 @@ LimboState *LimboHSM::get_leaf_state() const {
|
|||
}
|
||||
}
|
||||
|
||||
void LimboHSM::set_initial_state(Node *p_state) {
|
||||
void LimboHSM::set_initial_state(LimboState *p_state) {
|
||||
ERR_FAIL_COND(p_state == nullptr || !p_state->is_class("LimboState"));
|
||||
initial_state = Object::cast_to<LimboState>(p_state);
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
LimboState *get_leaf_state() const;
|
||||
void set_active(bool p_active);
|
||||
|
||||
void set_initial_state(Node *p_state);
|
||||
void set_initial_state(LimboState *p_state);
|
||||
LimboState *get_initial_state() const { return initial_state; }
|
||||
|
||||
virtual void initialize(Node *p_agent, const Ref<Blackboard> &p_parent_scope = nullptr);
|
||||
|
|
Loading…
Reference in New Issue