Changeset - r1538:9b83bdd8ee42
[Not reviewed]
master
0 5 0
truelight - 19 years ago 2005-03-24 14:31:27
truelight@openttd.org
(svn r2042) -Fix: forgot to remove a printf ;)
5 files changed with 7 insertions and 7 deletions:
0 comments (0 inline, 0 general)
dedicated.c
Show inline comments
 
@@ -302,7 +302,7 @@ static int DedicatedVideoMainLoop(void)
 
#endif
 

	
 
		if (cur_ticks >= next_tick) {
 
			next_tick += 30;
 
//			next_tick += 30;
 

	
 
			GameLoop();
 
			_screen.dst_ptr = _dedicated_video_mem;
economy.c
Show inline comments
 
@@ -1346,9 +1346,6 @@ int LoadUnloadVehicle(Vehicle *v)
 
	assert(v->current_order.type == OT_LOADING);
 

	
 
	v->cur_speed = 0;
 
	old_player = _current_player;
 
	_current_player = v->owner;
 

	
 
	st = GetStation(last_visited = v->last_station_visited);
 

	
 
	for (; v != NULL; v = v->next) {
 
@@ -1455,6 +1452,9 @@ int LoadUnloadVehicle(Vehicle *v)
 
		TriggerVehicle(v, VEHICLE_TRIGGER_EMPTY);
 
	}
 

	
 
	old_player = _current_player;
 
	_current_player = v->owner;
 

	
 
	if (result != 0) {
 
		InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
 

	
engine.c
Show inline comments
 
@@ -567,6 +567,8 @@ static void DoTriggerVehicle(Vehicle *ve
 
	RealSpriteGroup *rsg;
 
	byte new_random_bits;
 

	
 
	assert(_current_player >= MAX_PLAYERS);
 

	
 
	_vsg_random_triggers = trigger;
 
	_vsg_bits_to_reseed = 0;
 
	rsg = TriggerVehicleSpriteGroup(GetVehicleSpriteGroup(veh->engine_type, veh), veh,
functions.h
Show inline comments
 
@@ -92,7 +92,7 @@ void NORETURN CDECL error(const char *st
 
// * Warning: DO NOT enable this unless you understand what it does
 
// **************
 

	
 
//#define RANDOM_DEBUG
 
#define RANDOM_DEBUG
 

	
 
#ifdef RANDOM_DEBUG
 
	#define Random() DoRandom(__LINE__, __FILE__)
misc.c
Show inline comments
 
@@ -609,8 +609,6 @@ void IncreaseDate(void)
 
		return;
 
	_date_fract = 0;
 

	
 
	printf("%d\n", _frame_counter);
 

	
 
	/* yeah, increse day counter and call various daily loops */
 
	_date++;
 

	
0 comments (0 inline, 0 general)