fixed seers hut object

This commit is contained in:
josch 2008-11-28 13:07:37 +01:00
parent a88670c0b9
commit c58daa947c

View file

@ -417,13 +417,14 @@ def extract(filename):
else: else:
raise NotImplementedError raise NotImplementedError
(time_limit, ) = struct.unpack("<I", h3m_data.read(4)) if quest:
(length, ) = struct.unpack("<I", h3m_data.read(4)) (time_limit, ) = struct.unpack("<I", h3m_data.read(4))
quest_begin = h3m_data.read(length) (length, ) = struct.unpack("<I", h3m_data.read(4))
(length, ) = struct.unpack("<I", h3m_data.read(4)) quest_begin = h3m_data.read(length)
quest_running = h3m_data.read(length) (length, ) = struct.unpack("<I", h3m_data.read(4))
(length, ) = struct.unpack("<I", h3m_data.read(4)) quest_running = h3m_data.read(length)
quest_end = h3m_data.read(length) (length, ) = struct.unpack("<I", h3m_data.read(4))
quest_end = h3m_data.read(length)
(reward, ) = struct.unpack("<B", h3m_data.read(1)) (reward, ) = struct.unpack("<B", h3m_data.read(1))
if reward == 0x00: if reward == 0x00: