main_gui.c
changeset 1035 812f837ee03f
parent 1019 6bae6c11e865
child 1044 63e0601a43cc
equal deleted inserted replaced
1034:e761d474e204 1035:812f837ee03f
  1191 //}
  1191 //}
  1192 
  1192 
  1193 
  1193 
  1194 static void PlaceProc_RockyArea(uint tile)
  1194 static void PlaceProc_RockyArea(uint tile)
  1195 {
  1195 {
  1196 	if (!IS_TILETYPE(tile, MP_CLEAR) && !IS_TILETYPE(tile, MP_TREES))
  1196 	if (!IsTileType(tile, MP_CLEAR) && !IsTileType(tile, MP_TREES))
  1197 		return;
  1197 		return;
  1198 
  1198 
  1199 	ModifyTile(tile, MP_SETTYPE(MP_CLEAR) | MP_MAP5, (_map5[tile] & ~0x1C) | 0xB);
  1199 	ModifyTile(tile, MP_SETTYPE(MP_CLEAR) | MP_MAP5, (_map5[tile] & ~0x1C) | 0xB);
  1200 	SndPlayTileFx(SND_1F_SPLAT, tile);
  1200 	SndPlayTileFx(SND_1F_SPLAT, tile);
  1201 }
  1201 }