(svn r6408) -Fix(r6406): compilation was broken

-Codechange: Rename TileIndexDiffCByDir to TileIndexDiffCByDiagDir because it accepts DiagDirections
This commit is contained in:
glx
2006-09-06 01:56:01 +00:00
parent 3fee255543
commit 7c6851b436
3 changed files with 11 additions and 11 deletions

View File

@@ -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);