[godot] Fix compilation error on emscripten.

This commit is contained in:
Mario Zechner 2022-04-19 13:49:59 +02:00
parent 4394b8d32b
commit def6ccf16e
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -170,3 +170,4 @@ spine-godot/spine_godot/spine-cpp
spine-godot/spine_godot/__pycache__
spine-godot/example/.import
spine-godot/spine_godot/*.obj
*.bc

View File

@ -154,7 +154,7 @@ void SpineIkConstraint::set_softness(float v) {
}
bool SpineIkConstraint::is_active() {
SPINE_CHECK(ik_constraint, nullptr)
SPINE_CHECK(ik_constraint, false)
return ik_constraint->isActive();
}
void SpineIkConstraint::set_active(bool v) {