(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.

This commit is contained in:
rubidium
2008-06-11 13:54:01 +00:00
parent 2475d0010b
commit ee843728bf
14 changed files with 239 additions and 117 deletions

View File

@@ -109,6 +109,9 @@ public:
/* new trackdir does not match the next one when going straight */
c += 10;
}
c += YAPF_TILE_LENGTH * tf->m_tiles_skipped;
// apply it
n.m_cost = n.m_parent->m_cost + c;
return true;