summaryrefslogtreecommitdiffstats
path: root/src/peds/PedFight.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-25 14:18:13 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-25 14:18:13 +0100
commitb12eef1d56575206538abed426a296fefe22e90e (patch)
treea029f5ec513ec487d477d791e21f90ae1287965a /src/peds/PedFight.cpp
parentFix debug menu memory leak (diff)
downloadre3-b12eef1d56575206538abed426a296fefe22e90e.tar
re3-b12eef1d56575206538abed426a296fefe22e90e.tar.gz
re3-b12eef1d56575206538abed426a296fefe22e90e.tar.bz2
re3-b12eef1d56575206538abed426a296fefe22e90e.tar.lz
re3-b12eef1d56575206538abed426a296fefe22e90e.tar.xz
re3-b12eef1d56575206538abed426a296fefe22e90e.tar.zst
re3-b12eef1d56575206538abed426a296fefe22e90e.zip
Diffstat (limited to '')
-rw-r--r--src/peds/PedFight.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/PedFight.cpp b/src/peds/PedFight.cpp
index b57364d8..6188f019 100644
--- a/src/peds/PedFight.cpp
+++ b/src/peds/PedFight.cpp
@@ -1778,7 +1778,7 @@ CPed::LoadFightData(void)
break;
}
- if (strncmp(animName, "null", 4) != 0) {
+ if (strcmp(animName, "null") != 0) {
animAssoc = CAnimManager::GetAnimAssociation(ASSOCGRP_STD, animName);
tFightMoves[moveId].animId = (AnimationId)animAssoc->animId;
} else {