X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fclient%2Fclient.cpp;h=52bc0a9eea97ab729e7e2e62612b6ab8142fba2a;hb=b050d119839ef95e7275c6c6cd21ee497dbf2a2a;hp=bb91847baa558be55b02922a407c356a96700062;hpb=8ae45b6555d55f301f83daf8c1337d332d8305ab;p=blank.git diff --git a/src/client/client.cpp b/src/client/client.cpp index bb91847..52bc0a9 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -456,7 +456,7 @@ bool MasterState::UpdateEntity(uint32_t entity_id, uint16_t seq) { return true; } - int pack_diff = int16_t(seq) - int16_t(entry->second.last_packet); + int16_t pack_diff = int16_t(seq) - int16_t(entry->second.last_packet); int time_diff = update_timer.Elapsed() - entry->second.last_update; entry->second.last_update = update_timer.Elapsed();