Load NPC paths from JSON

This commit is contained in:
Gent
2020-09-24 10:14:37 -04:00
parent c33f218e56
commit 72c16587e0
4 changed files with 35 additions and 7 deletions

View File

@@ -304,7 +304,7 @@ void TransportManager::stepNPCPathing() {
move.iToX = point.x;
move.iToY = point.y;
move.iToZ = point.z;
move.iSpeed = 600; // TODO: figure out a way to make this variable
move.iSpeed = distanceBetween;
// send packet to players in view
for (Chunk* chunk : chunks) {