Skip to content

Commit 0f65125

Browse files
committed
added a new flag for location/move event
1 parent eafb862 commit 0f65125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def parse_ability_event(self, buffer, frames, type, code, pid):
116116
buffer.skip(5)
117117
return LocationAbilityEvent(frames, pid, type, code, None, location)
118118

119-
elif flag in (0x04,0x07):
119+
elif flag in (0x04,0x05,0x07):
120120
print "Made it!"
121121
h = buffer.read_hex(2)
122122
hinge = buffer.read_byte()

0 commit comments

Comments
 (0)