Chunnel: Adjust struct Tunnel constructor

This commit is contained in:
Jonathan G Rennison
2017-03-04 12:36:01 +00:00
parent ee0d6e2fe6
commit aac5b2d4ad
3 changed files with 4 additions and 7 deletions

View File

@@ -2040,9 +2040,7 @@ bool AfterLoadGame()
if (!Tunnel::CanAllocateItem()) return false;
Tunnel *t = new Tunnel(start_tile);
t->tile_s = end_tile;
t->is_chunnel = 0;
const Tunnel *t = new Tunnel(start_tile, end_tile, false);
_m[start_tile].m2 = t->index;
_m[end_tile].m2 = t->index;