Changeset - r1507:737dd01be3a2
[Not reviewed]
master
0 3 0
darkvater - 20 years ago 2005-03-15 12:21:59
darkvater@openttd.org
(svn r2011) - Fix: [ 1162209 ] Fix OS/2 build (orudge) #2
3 files changed with 8 insertions and 5 deletions:
0 comments (0 inline, 0 general)
network_core.h
Show inline comments
 
@@ -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
 

	
station_cmd.c
Show inline comments
 
@@ -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;
train_cmd.c
Show inline comments
 
@@ -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)
0 comments (0 inline, 0 general)