Movement will now be handled by the movement manager instead of mob

This commit is contained in:
KimLS committed 2018-09-20 16:14:47 -07:00
1 parent f754cb1307
commit 7278c6294d
32 files changed
+323 -306

No files matched your search

+1 -1
View File
@@ -557,7 +557,7 @@ void PathfinderWaypoint::ShowNode(const Node &n) {
npc_type->findable = 1;
auto position = glm::vec4(n.v.x, n.v.y, n.v.z, 0.0f);
auto npc = new NPC(npc_type, nullptr, position, FlyMode1);
auto npc = new NPC(npc_type, nullptr, position, GravityBehavior::Flying);
npc->GiveNPCTypeData(npc_type);
entity_list.AddNPC(npc, true, true);