STARK: Some renaming for the Anim resource
This commit is contained in:
parent
791ac240d5
commit
6733c886c4
4 changed files with 82 additions and 61 deletions
|
@ -58,7 +58,7 @@ void AnimScript::onAllLoaded() {
|
|||
void AnimScript::onGameLoop() {
|
||||
Resource::onGameLoop();
|
||||
|
||||
if (!_anim || !_anim->isReferenced() || _nextItemIndex == -1) {
|
||||
if (!_anim || !_anim->isInUse() || _nextItemIndex == -1) {
|
||||
// The script is disabled, do nothing
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue