mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 13:45:35 +00:00
Fix walk animation fallback replace call
This commit is contained in:
parent
93068d71ea
commit
d4d4304f1e
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ void CharacterController::refreshMovementAnims(const std::string& weapShortGroup
|
|||
std::string::size_type runpos = movementAnimName.find("run");
|
||||
if (runpos != std::string::npos)
|
||||
{
|
||||
movementAnimName.replace(runpos, runpos+3, "walk");
|
||||
movementAnimName.replace(runpos, 3, "walk");
|
||||
if (!mAnimation->hasAnimation(movementAnimName))
|
||||
movementAnimName.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue