equal
deleted
inserted
replaced
350 { |
350 { |
351 int house, rating; |
351 int house, rating; |
352 int32 cost; |
352 int32 cost; |
353 Town *t; |
353 Town *t; |
354 |
354 |
355 if (flags&DC_AUTO && !(flags&DC_AI_BUILDING)) return_cmd_error(STR_2004_BUILDING_MUST_BE_DEMOLISHED); |
355 if (flags & DC_AUTO) return_cmd_error(STR_2004_BUILDING_MUST_BE_DEMOLISHED); |
356 |
356 |
357 house = GetHouseType(tile); |
357 house = GetHouseType(tile); |
358 cost = _price.remove_house * _housetype_remove_cost[house] >> 8; |
358 cost = _price.remove_house * _housetype_remove_cost[house] >> 8; |
359 |
359 |
360 rating = _housetype_remove_ratingmod[house]; |
360 rating = _housetype_remove_ratingmod[house]; |