mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 05:20:05 +00:00
Undo pathing check bypass + update to patched academy tdata
This commit is contained in:
parent
36cb32454d
commit
5f29ea93d8
@ -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;
|
std::cout << "[INFO] Using static path for mob " << mob->appearanceData.iNPCType << " with ID " << pair.first << std::endl;
|
||||||
|
|
||||||
auto firstPoint = npcPath.value()["points"][0];
|
auto firstPoint = npcPath.value()["points"][0];
|
||||||
/*
|
|
||||||
if (firstPoint["iX"] != mob->spawnX || firstPoint["iY"] != mob->spawnY) {
|
if (firstPoint["iX"] != mob->spawnX || firstPoint["iY"] != mob->spawnY) {
|
||||||
std::cout << "[FATAL] The first point of the route for mob " << pair.first <<
|
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;
|
" (type " << mob->appearanceData.iNPCType << ") does not correspond with its spawn point." << std::endl;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
constructPathNPC(*npcPath, pair.first);
|
constructPathNPC(*npcPath, pair.first);
|
||||||
mob->staticPath = true;
|
mob->staticPath = true;
|
||||||
|
2
tdata
2
tdata
@ -1 +1 @@
|
|||||||
Subproject commit 5b54c48bc4b873ef3ff28f0a7f383fd44e698660
|
Subproject commit 4d962e1eb5eee9c21db406d1ee0a562670ef1239
|
Loading…
Reference in New Issue
Block a user