summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-29 09:41:50 +0000
committerrubidium <rubidium@openttd.org>2010-08-29 09:41:50 +0000
commit7af4449fef588a1a10079d8794fa4ff689c27ee4 (patch)
treebe095dc6294aad6e6adb823a4218f2c50a492822 /src
parentdd0a8a573d9fd9a277f6e07642eaeac2e0d1a82e (diff)
downloadopenttd-7af4449fef588a1a10079d8794fa4ff689c27ee4.tar.xz
(svn r20677) -Fix (r20136): copy-paste error (jwm)
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index d02c0f1e1..25387f41c 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1181,7 +1181,7 @@ static void CheckCaches()
if (memcmp(&acc_cache[length], &RoadVehicle::From(u)->acc_cache, sizeof(AccelerationCache)) != 0) {
DEBUG(desync, 2, "road vehicle acceleration cache mismatch: vehicle %i, company %i, unit number %i, wagon %i", v->index, (int)v->owner, v->unitnumber, length);
}
- if (memcmp(&tra_cache[length], &RoadVehicle::From(u)->rcache, sizeof(RoadVehicleCache)) != 0) {
+ if (memcmp(&roa_cache[length], &RoadVehicle::From(u)->rcache, sizeof(RoadVehicleCache)) != 0) {
DEBUG(desync, 2, "road vehicle cache mismatch: vehicle %i, company %i, unit number %i, wagon %i", v->index, (int)v->owner, v->unitnumber, length);
}
break;