@@ -112,8 +112,8 @@ def load(self, event, bytes):
112112 for i in range (0 , totalUnits ):
113113 unit_id , use_count = bytes .get_big_int (2 ), bytes .get_big_int (2 )
114114 else :
115- #We're not byte aligned, so need do so some bit shifting
116- #This seems like 1000% wrong to me, but its what the people
115+ #We're not byte aligned, so need do so some bit shifting
116+ #This seems like 1000% wrong to me, but its what the people
117117 #at phpsc2replay think it is so I'll deal for now
118118 tail_mask = 0xFF >> (8 - extras )
119119 head_mask = ~ tail_mask & 0xFF
@@ -185,11 +185,11 @@ def load(self, event, bytes):
185185
186186 #Because we went bit by bit the mask is different so we
187187 #take the deselect bits used on the last_byte, add the two
188- #bits left bits we've carried down, we need a mask that long
188+ #bits left bits we've carried down, we need a mask that long
189189 else :
190190 mask = (1 << (deselect_count + 2 )) - 1
191191
192- #deselect by byte, I think (deselect_type & 3 == 3) is deselect all
192+ #deselect by byte,I think (deselect_type & 3 == 3) is deselect all
193193 #and as such probably has a deselect_count always == 0, not sure though
194194 else :
195195 #use the 6 left bits on top and the 2 right bits on bottom
@@ -228,7 +228,7 @@ def load(self, event, bytes):
228228 #Build the unit_type_id over the next 3 bytes
229229 byte_list = list ()
230230 for i in range (0 , 3 ):
231- #Swap the bytes, grab another, and combine w/ the mask
231+ #Swap the bytes, grab another, and combine w/ the mask
232232 last_byte , next_byte = next_byte , bytes .get_big_int (1 )
233233 byte_list .append ( combine (last_byte , next_byte ) )
234234 unit_type_id = byte_list [0 ] << 16 | byte_list [1 ] << 8 | byte_list [2 ]
0 commit comments