mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 09:49:40 +00:00
Make loopgroup loop correct number of times
This commit is contained in:
parent
f3f02fe154
commit
a381a15b19
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ namespace MWScript
|
|||
throw std::runtime_error ("animation mode out of range");
|
||||
}
|
||||
|
||||
MWBase::Environment::get().getMechanicsManager()->playAnimationGroup (ptr, group, mode, loops, true);
|
||||
MWBase::Environment::get().getMechanicsManager()->playAnimationGroup (ptr, group, mode, loops + 1, true);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue