diff --git a/code/ryzom/tools/server/build_world_packed_col/CMakeLists.txt b/code/ryzom/tools/server/build_world_packed_col/CMakeLists.txt index afd2ee19c..3e62d8fe3 100644 --- a/code/ryzom/tools/server/build_world_packed_col/CMakeLists.txt +++ b/code/ryzom/tools/server/build_world_packed_col/CMakeLists.txt @@ -6,7 +6,7 @@ INCLUDE_DIRECTORIES(${RZ_SERVER_SRC_DIR} ${LIBXML2_INCLUDE_DIR}) TARGET_LINK_LIBRARIES(build_world_packed_col ryzom_gameshare ryzom_servershare - ai_share + ryzom_aishare ${PLATFORM_LINKFLAGS} ${LIBXML2_LIBRARIES} nelmisc diff --git a/code/ryzom/tools/server/build_world_packed_col/build_world_packed_col.cpp b/code/ryzom/tools/server/build_world_packed_col/build_world_packed_col.cpp index d10fffbf8..a2688d0ee 100644 --- a/code/ryzom/tools/server/build_world_packed_col/build_world_packed_col.cpp +++ b/code/ryzom/tools/server/build_world_packed_col/build_world_packed_col.cpp @@ -188,7 +188,7 @@ int main(int argc, char* argv[]) // the same zones were found -> now check their dates against the island one uint32 packedIslandDate = CFile::getFileModificationDate(islandPath); mustRebuild = false; - for(uint k = 0; k < presentZonePathes.size(); ++k) + for(uint l = 0; l < presentZonePathes.size(); ++l) { if (CFile::getFileModificationDate(presentZonePathes[l]) > packedIslandDate) {