@@ -196,7 +196,7 @@ def __init__(self, frames, data):
196
196
self .unit_id_recycle = data [1 ]
197
197
198
198
#: The unique id of the unit being born
199
- self .unit_id = self .unit_id_index << 16 | self .unit_id_recycle
199
+ self .unit_id = self .unit_id_index << 18 | self .unit_id_recycle
200
200
201
201
#: The unit object that was born
202
202
self .unit = None
@@ -269,7 +269,7 @@ def __init__(self, frames, data):
269
269
self .unit_id_recycle = data [1 ]
270
270
271
271
#: The unique id of the unit being killed
272
- self .unit_id = self .unit_id_index << 16 | self .unit_id_recycle
272
+ self .unit_id = self .unit_id_index << 18 | self .unit_id_recycle
273
273
274
274
#: The unit object that died
275
275
self .unit = None
@@ -326,7 +326,7 @@ def __init__(self, frames, data):
326
326
self .unit_id_recycle = data [1 ]
327
327
328
328
#: The unique id of the unit changing ownership
329
- self .unit_id = self .unit_id_index << 16 | self .unit_id_recycle
329
+ self .unit_id = self .unit_id_index << 18 | self .unit_id_recycle
330
330
331
331
#: The unit object that is affected by this event
332
332
self .unit = None
@@ -383,7 +383,7 @@ def __init__(self, frames, data):
383
383
self .unit_id_recycle = data [1 ]
384
384
385
385
#: The unique id of the unit changing type
386
- self .unit_id = self .unit_id_index << 16 | self .unit_id_recycle
386
+ self .unit_id = self .unit_id_index << 18 | self .unit_id_recycle
387
387
388
388
#: The unit object that was changed
389
389
self .unit = None
@@ -445,7 +445,7 @@ def __init__(self, frames, data):
445
445
self .unit_id_recycle = data [1 ]
446
446
447
447
#: The unique id of the stated unit
448
- self .unit_id = self .unit_id_index << 16 | self .unit_id_recycle
448
+ self .unit_id = self .unit_id_index << 18 | self .unit_id_recycle
449
449
450
450
#: The unit object that was started (e.g. started to warp in)
451
451
self .unit = None
@@ -521,7 +521,7 @@ def __init__(self, frames, data):
521
521
self .unit_id_recycle = data [1 ]
522
522
523
523
#: The unique id of the finished unit
524
- self .unit_id = self .unit_id_index << 16 | self .unit_id_recycle
524
+ self .unit_id = self .unit_id_index << 18 | self .unit_id_recycle
525
525
526
526
#: The unit object that was finished
527
527
self .unit = None
0 commit comments