From 7c6851b436003e3f4fe694b6bbf751f49d9d3e47 Mon Sep 17 00:00:00 2001 From: glx Date: Wed, 6 Sep 2006 01:56:01 +0000 Subject: (svn r6408) -Fix(r6406): compilation was broken -Codechange: Rename TileIndexDiffCByDir to TileIndexDiffCByDiagDir because it accepts DiagDirections --- yapf/unittest/test_yapf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yapf/unittest') 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); -- cgit v1.2.3-70-g09d2