From 5c7aaf11badc8be299ca4fe3c1b988d49a237d74 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 11 Apr 2010 10:11:26 +0000 Subject: (svn r19602) -Codechange: add the name of the command to the desync logs --- src/network/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network') diff --git a/src/network/network.cpp b/src/network/network.cpp index 0367d6633..e52530a24 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -1095,7 +1095,7 @@ void NetworkGameLoop() if (cp != NULL && _date == next_date && _date_fract == next_date_fract) { _current_company = cp->company; bool ret = DoCommandP(cp->tile, cp->p1, cp->p2, cp->cmd, NULL, cp->text); - DEBUG(net, 0, "injecting: %08x; %02x; %02x; %06x; %08x; %08x; %08x; \"%s\" -> %i", _date, _date_fract, (int)_current_company, cp->tile, cp->p1, cp->p2, cp->cmd, cp->text, (int)ret); + DEBUG(net, 0, "injecting: %08x; %02x; %02x; %06x; %08x; %08x; %08x; \"%s\" (%s) -> %i", _date, _date_fract, (int)_current_company, cp->tile, cp->p1, cp->p2, cp->cmd, cp->text, GetCommandName(cp->cmd), (int)ret); assert(ret); free(cp); cp = NULL; -- cgit v1.2.3-54-g00ecf