diff --git a/src/TableData.cpp b/src/TableData.cpp index f6c5211..2fd9cba 100644 --- a/src/TableData.cpp +++ b/src/TableData.cpp @@ -350,13 +350,11 @@ static void loadPaths(json& pathData, int32_t* nextId) { std::cout << "[INFO] Using static path for mob " << mob->appearanceData.iNPCType << " with ID " << pair.first << std::endl; auto firstPoint = npcPath.value()["points"][0]; - /* if (firstPoint["iX"] != mob->spawnX || firstPoint["iY"] != mob->spawnY) { std::cout << "[FATAL] The first point of the route for mob " << pair.first << " (type " << mob->appearanceData.iNPCType << ") does not correspond with its spawn point." << std::endl; exit(1); } - */ constructPathNPC(*npcPath, pair.first); mob->staticPath = true; diff --git a/tdata b/tdata index 5b54c48..4d962e1 160000 --- a/tdata +++ b/tdata @@ -1 +1 @@ -Subproject commit 5b54c48bc4b873ef3ff28f0a7f383fd44e698660 +Subproject commit 4d962e1eb5eee9c21db406d1ee0a562670ef1239