diff options
author | rubidium <rubidium@openttd.org> | 2010-04-08 21:14:49 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-04-08 21:14:49 +0000 |
commit | d8baa1342c4ddce823724b758c5b3e4547e84e90 (patch) | |
tree | a8877f3db63d8d7c5d9a7dbee7f4a0943e8ab785 /src/openttd.cpp | |
parent | 9ad86b776fcb04242fda1203ca126bbb68ff2829 (diff) | |
download | openttd-d8baa1342c4ddce823724b758c5b3e4547e84e90.tar.xz |
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index e5e05a048..77677dd33 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1117,7 +1117,7 @@ static void CheckCaches() RoadVehUpdateCache(rv); if (memcmp(&cache, &rv->rcache, sizeof(RoadVehicleCache)) != 0) { - DEBUG(desync, 2, "cache mismatch: vehicle %i, company %i, unit number %i\n", v->index, (int)v->owner, v->unitnumber); + DEBUG(desync, 2, "cache mismatch: vehicle %i, company %i, unit number %i", v->index, (int)v->owner, v->unitnumber); } } break; @@ -1135,7 +1135,7 @@ static void CheckCaches() length = 0; for (Train *u = t; u != NULL; u = u->Next()) { if (memcmp(&wagons[length], &u->tcache, sizeof(TrainCache)) != 0) { - DEBUG(desync, 2, "cache mismatch: vehicle %i, company %i, unit number %i, wagon %i\n", v->index, (int)v->owner, v->unitnumber, length); + DEBUG(desync, 2, "cache mismatch: vehicle %i, company %i, unit number %i, wagon %i", v->index, (int)v->owner, v->unitnumber, length); } length++; } @@ -1151,7 +1151,7 @@ static void CheckCaches() UpdateAircraftCache(a); if (memcmp(&cache, &a->acache, sizeof(AircraftCache)) != 0) { - DEBUG(desync, 2, "cache mismatch: vehicle %i, company %i, unit number %i\n", v->index, (int)v->owner, v->unitnumber); + DEBUG(desync, 2, "cache mismatch: vehicle %i, company %i, unit number %i", v->index, (int)v->owner, v->unitnumber); } } break; |