diff options
author | rubidium <rubidium@openttd.org> | 2009-05-22 20:07:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-22 20:07:26 +0000 |
commit | c882248348510265e1926b0abc031b4c6fb0f97f (patch) | |
tree | e2e97af6a402e4babea7d19de728a50ead416f51 /src/openttd.cpp | |
parent | ada30679605644a228be26850a76370fea723799 (diff) | |
download | openttd-c882248348510265e1926b0abc031b4c6fb0f97f.tar.xz |
(svn r16388) -Codechange: move u.air to Aircraft
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index ba4a96cce..e22cbea01 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1146,9 +1146,9 @@ void StateGameLoop() case VEH_AIRCRAFT: { Aircraft *a = (Aircraft *)v; - uint speed = a->u.air.cached_max_speed; + uint speed = a->cached_max_speed; UpdateAircraftCache(a); - if (speed != a->u.air.cached_max_speed) { + if (speed != a->cached_max_speed) { DEBUG(desync, 2, "cache mismatch: vehicle %i, company %i, unit number %i\n", v->index, (int)v->owner, v->unitnumber); } } break; |