changeset 2499 | b8be4599b940 |
parent 2493 | f6b4300cc2b0 |
child 2502 | a77b8b2f173c |
2498:3ed05caa4449 | 2499:b8be4599b940 |
---|---|
989 if ( GetRailType(tile) == totype) |
989 if ( GetRailType(tile) == totype) |
990 return CMD_ERROR; |
990 return CMD_ERROR; |
991 |
991 |
992 // change type. |
992 // change type. |
993 if (exec) { |
993 if (exec) { |
994 SB(_m[tile].m3, 4, 4, totype); |
994 SB(_m[tile].m3, 0, 4, totype); |
995 MarkTileDirtyByTile(tile); |
995 MarkTileDirtyByTile(tile); |
996 } |
996 } |
997 |
997 |
998 return _price.build_rail / 2; |
998 return _price.build_rail / 2; |
999 } |
999 } |