Undo pathing check bypass + update to patched academy tdata

This commit is contained in:
gsemaj 2021-05-03 00:07:33 -04:00 committed by Gent Semaj
parent 36cb32454d
commit 5f29ea93d8
2 changed files with 1 additions and 3 deletions

View File

@ -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;

2
tdata

@ -1 +1 @@
Subproject commit 5b54c48bc4b873ef3ff28f0a7f383fd44e698660
Subproject commit 4d962e1eb5eee9c21db406d1ee0a562670ef1239