diff -r a4ad48192617 -r 7eb395287b3d src/main_gui.cpp --- a/src/main_gui.cpp Mon Aug 27 16:28:33 2007 +0000 +++ b/src/main_gui.cpp Sun Sep 02 11:58:58 2007 +0000 @@ -90,7 +90,7 @@ #ifdef ENABLE_NETWORK case 3: { // Give money, you can only give money in excess of loan const Player *p = GetPlayer(_current_player); - Money money = min(p->player_money - p->current_loan, atoi(str) / _currency->rate); + Money money = min(p->player_money - p->current_loan, (Money)(atoi(str) / _currency->rate)); uint32 money_c = clamp(ClampToI32(money), 0, 20000000); // Clamp between 20 million and 0 @@ -1086,7 +1086,7 @@ StringID msg = mode ? STR_0808_CAN_T_RAISE_LAND_HERE : STR_0809_CAN_T_LOWER_LAND_HERE; - DoCommandP(tile, 8, (uint32)mode, CcTerraform, CMD_TERRAFORM_LAND | CMD_AUTO | CMD_MSG(msg)); + DoCommandP(tile, SLOPE_N, (uint32)mode, CcTerraform, CMD_TERRAFORM_LAND | CMD_AUTO | CMD_MSG(msg)); } else { SndPlayTileFx(SND_1F_SPLAT, tile); @@ -1113,7 +1113,7 @@ BEGIN_TILE_LOOP(tile2, sizex, sizey, tile) { if (TileHeight(tile2) == h) { - DoCommandP(tile2, 8, (uint32)mode, NULL, CMD_TERRAFORM_LAND | CMD_AUTO); + DoCommandP(tile2, SLOPE_N, (uint32)mode, NULL, CMD_TERRAFORM_LAND | CMD_AUTO); } } END_TILE_LOOP(tile2, sizex, sizey, tile) }