mirror of
https://github.com/halpz/re3.git
synced 2025-07-03 07:10:43 +00:00
Fix use of strncmp
This commit is contained in:
@ -136,7 +136,7 @@ CWeaponInfo::LoadWeaponData(void)
|
||||
animAssoc = CAnimManager::GetAnimAssociation(ASSOCGRP_STD, animToPlay);
|
||||
animId = static_cast<AnimationId>(animAssoc->animId);
|
||||
|
||||
if (strncmp(anim2ToPlay, "null", 4) != 0) {
|
||||
if (strcmp(anim2ToPlay, "null") != 0) {
|
||||
animAssoc = CAnimManager::GetAnimAssociation(ASSOCGRP_STD, anim2ToPlay);
|
||||
ms_apWeaponInfos[weaponType].m_Anim2ToPlay = (AnimationId) animAssoc->animId;
|
||||
}
|
||||
|
Reference in New Issue
Block a user