mirror of
https://github.com/Steffo99/lihzahrd.git
synced 2024-11-21 23:54:23 +00:00
Fixed bug in NPC parsing.
This commit is contained in:
parent
a7827e2e8e
commit
7f57bb80cf
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ class World:
|
||||||
npc_home = None
|
npc_home = None
|
||||||
|
|
||||||
npc_flags = f.bits()
|
npc_flags = f.bits()
|
||||||
npc_variation_index = 0 if npc_flags[0] else f.int4()
|
npc_variation_index = f.int4() if npc_flags[0] else 0
|
||||||
|
|
||||||
npc = NPC(type_=npc_type,
|
npc = NPC(type_=npc_type,
|
||||||
name=npc_name,
|
name=npc_name,
|
||||||
|
|
Loading…
Reference in a new issue