Added a use_model field to npc_types to override race-graphics, maintain race.

This commit is contained in:
Noudess
2019-03-25 19:21:33 -04:00
parent 0852468b88
commit 60d5c11c43
9 changed files with 104 additions and 166 deletions
+2 -1
View File
@@ -112,7 +112,8 @@ NPC::NPC(const NPCType *npc_type_data, Spawn2 *in_respawn, const glm::vec4 &posi
npc_type_data->bracertexture,
npc_type_data->handtexture,
npc_type_data->legtexture,
npc_type_data->feettexture
npc_type_data->feettexture,
npc_type_data->use_model
),
attacked_timer(CombatEventTimer_expire),
swarm_timer(100),