diff options
author | celestar <celestar@openttd.org> | 2005-03-28 08:12:21 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-03-28 08:12:21 +0000 |
commit | f42d17c6b351a25e80a40f88881ea767cba83126 (patch) | |
tree | 6e210bf2a96cd91ac0bcbe604b2bff5141736be5 | |
parent | bba102e62443ca5d5d85d771982fe8b3817c4ceb (diff) | |
download | openttd-f42d17c6b351a25e80a40f88881ea767cba83126.tar.xz |
(svn r2096) -Codechange: [Multistop] Modfied some debug stuff
-rw-r--r-- | station_cmd.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c index e75cf1cca..df13bd69f 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -2439,7 +2439,12 @@ static void StationHandleBigTick(Station *st) Vehicle *v = GetVehicle(rs->slot[k]); if (v->u.road.slot != rs) { - DEBUG(ms, 0) ("Multistop: Bus Slot Desync! cleaning up (Don't panic)"); + DEBUG(ms, 1) ("Multistop: Truck Slot Desync between stop at "\ + "0x%x of station %d (at 0x%x) and Vehicle %d at 0x%x, "\ + "going to 0x%x! "\ + "cleaning up (Don't panic)", \ + rs->xy, st->index, st->xy, v->unitnumber, v->tile, \ + v->dest_tile); v->u.road.slot = NULL; v->u.road.slot_age = 0; rs->slot[k] = INVALID_SLOT; @@ -2455,7 +2460,12 @@ static void StationHandleBigTick(Station *st) Vehicle *v = GetVehicle(rs->slot[k]); if (v->u.road.slot != rs) { - DEBUG(ms, 0) ("Multistop: Truck Slot Desync! cleaning up (Don't panic)"); + DEBUG(ms, 1) ("Multistop: Truck Slot Desync between stop at "\ + "0x%x of station %d (at 0x%x) and Vehicle %d at 0x%x, "\ + "going to 0x%x! "\ + "cleaning up (Don't panic)", \ + rs->xy, st->index, st->xy, v->unitnumber, v->tile, \ + v->dest_tile); v->u.road.slot = NULL; v->u.road.slot_age = 0; rs->slot[k] = INVALID_SLOT; |