diff options
author | glx <glx@openttd.org> | 2006-09-06 01:56:01 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-09-06 01:56:01 +0000 |
commit | 7c6851b436003e3f4fe694b6bbf751f49d9d3e47 (patch) | |
tree | fc36ea231f8fae94996dd2d24463f6a7fbfa59ec /yapf/unittest/test_yapf.h | |
parent | 3fee2555433c62735640c7e99f8a777ba060e5e5 (diff) | |
download | openttd-7c6851b436003e3f4fe694b6bbf751f49d9d3e47.tar.xz |
(svn r6408) -Fix(r6406): compilation was broken
-Codechange: Rename TileIndexDiffCByDir to TileIndexDiffCByDiagDir because it accepts DiagDirections
Diffstat (limited to 'yapf/unittest/test_yapf.h')
-rw-r--r-- | yapf/unittest/test_yapf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yapf/unittest/test_yapf.h b/yapf/unittest/test_yapf.h index 952040faa..685e6fcf7 100644 --- a/yapf/unittest/test_yapf.h +++ b/yapf/unittest/test_yapf.h @@ -169,7 +169,7 @@ struct CYapfTestBaseT int z_org = Map::MapZ(x_org, y_org); DiagDirection exitdir = TrackdirToExitdir(org.m_key.m_td); - TileIndexDiffC diff = TileIndexDiffCByDir(exitdir); + TileIndexDiffC diff = TileIndexDiffCByDiagDir(exitdir); int x_new = x_org + diff.x; int y_new = y_org + diff.y; int z_new = Map::MapZ(x_new, y_new); |