Fix attachment with swatter removing bomb animation rewind
This commit is contained in:
parent
02a3de4dd8
commit
dc059aa8f7
@ -285,7 +285,9 @@ void Attachment::rewindTo(BareNetworkString *buffer)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t ticks_left = buffer->getUInt16();
|
int16_t ticks_left = 0;
|
||||||
|
if (new_type != ATTACH_NOTHING)
|
||||||
|
ticks_left = buffer->getUInt16();
|
||||||
|
|
||||||
// Now it is a new attachment:
|
// Now it is a new attachment:
|
||||||
if (type == (ATTACH_BOMB | 64)) // we have previous owner information
|
if (type == (ATTACH_BOMB | 64)) // we have previous owner information
|
||||||
|
Loading…
Reference in New Issue
Block a user