Fixed: make_anim_melee_impact compilation

This commit is contained in:
kervala 2010-09-03 23:09:44 +02:00
parent 91e371e533
commit 2379551abe
2 changed files with 2 additions and 5 deletions

View file

@ -2,10 +2,7 @@ FILE(GLOB SRC *.cpp *.h)
ADD_EXECUTABLE(make_anim_melee_impact ${SRC}) ADD_EXECUTABLE(make_anim_melee_impact ${SRC})
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) TARGET_LINK_LIBRARIES(make_anim_melee_impact ${PLATFORM_LINKFLAGS} nelmisc)
TARGET_LINK_LIBRARIES(make_anim_melee_impact ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} ${NELMISC_LIBRARY})
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})
NL_DEFAULT_PROPS(make_anim_melee_impact "Ryzom, Tools, Misc: Make Anim Melee Impact") NL_DEFAULT_PROPS(make_anim_melee_impact "Ryzom, Tools, Misc: Make Anim Melee Impact")
NL_ADD_RUNTIME_FLAGS(make_anim_melee_impact) NL_ADD_RUNTIME_FLAGS(make_anim_melee_impact)

View file

@ -91,7 +91,7 @@ void makeAnimMeleeImpact(const std::string &animSetFile, const set<CAnimCombatSe
strlwr(shortName); strlwr(shortName);
CAnimCombatSet key; CAnimCombatSet key;
key.Name= shortName; key.Name= shortName;
set<CAnimCombatSet>::iterator it= combatAnimSets.find(key); set<CAnimCombatSet>::const_iterator it= combatAnimSets.find(key);
if(it == combatAnimSets.end()) if(it == combatAnimSets.end())
return; return;