(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user