Show more info if tried to execute packet in a past
This commit is contained in:
@@ -203,7 +203,7 @@ void NetworkExecuteLocalCommandQueue()
|
|||||||
if (_frame_counter > cp->frame) {
|
if (_frame_counter > cp->frame) {
|
||||||
/* If we reach here, it means for whatever reason, we've already executed
|
/* If we reach here, it means for whatever reason, we've already executed
|
||||||
* past the command we need to execute. */
|
* past the command we need to execute. */
|
||||||
error("[net] Trying to execute a packet in the past!");
|
error("[net] Trying to execute a packet in the past! (frame=%u cmd_frame=%u tile=%u p1=%u p2=%u cmd=%u)", (uint)_frame_counter, (uint)cp->frame, (uint)cp->tile, (uint)cp->p1, (uint)cp->p2, (uint)cp->cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We can execute this command */
|
/* We can execute this command */
|
||||||
|
|||||||
Reference in New Issue
Block a user