changeset 8210 | cc873256f63a |
parent 8205 | 2bde724f1b5d |
child 8224 | c5a64d87cc54 |
8209:0bbae499a1a2 | 8210:cc873256f63a |
---|---|
24 void CcTerraform(bool success, TileIndex tile, uint32 p1, uint32 p2) |
24 void CcTerraform(bool success, TileIndex tile, uint32 p1, uint32 p2) |
25 { |
25 { |
26 if (success) { |
26 if (success) { |
27 SndPlayTileFx(SND_1F_SPLAT, tile); |
27 SndPlayTileFx(SND_1F_SPLAT, tile); |
28 } else { |
28 } else { |
29 extern TileIndex _terraform_err_tile; |
|
29 SetRedErrorSquare(_terraform_err_tile); |
30 SetRedErrorSquare(_terraform_err_tile); |
30 } |
31 } |
31 } |
32 } |
32 |
33 |
33 |
34 |