@@ -111,6 +111,7 @@ typedef struct ifreq IFREQ;
# include <nerrno.h>
# define INADDR_NONE 0xffffffff
typedef int socklen_t;
typedef unsigned long in_addr_t;
#endif // OS/2
@@ -634,10 +634,13 @@ static void UpdateStationAcceptance(Stat
uint old_acc, new_acc;
const RoadStop *cur_rs;
int i;
Rectangle rect = { MapSizeX(), MapSizeY(), 0, 0 };
Rectangle rect;
int rad;
AcceptedCargo accepts;
rect.min_x = MapSizeX();
rect.min_y = MapSizeY();
rect.max_x = rect.max_y = 0;
// Don't update acceptance for a buoy
if (st->had_vehicle_of_type & HVOT_BUOY)
return;
@@ -2589,10 +2589,9 @@ red_light: {
v->progress = 255-10;
if (++v->load_unload_time_rem < _patches.wait_twoway_signal * 73) {
TileIndex o_tile = gp.new_tile + TileOffsByDir(enterdir);
VehicleAtSignalData vasd = {
o_tile,
dir ^ 4
};
VehicleAtSignalData vasd;
vasd.tile = o_tile;
vasd.direction = dir ^ 4;
/* check if a train is waiting on the other side */
if (VehicleFromPos(o_tile, &vasd, CheckVehicleAtSignal) == NULL)
Status change: