Changeset - r1744:25476fc01ae2
[Not reviewed]
master
0 1 0
Darkvater - 20 years ago 2005-05-02 17:14:31
darkvater@openttd.org
(svn r2248) - Fix (regression): fix crashing of game when joining a dedicated server (only reset _thd.pos, not the whole structure; as done in revision 2241 to fix another crash)
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
window.c
Show inline comments
 
@@ -716,7 +716,8 @@ void ResetWindowSystem(void)
 
{
 
	UnInitWindowSystem();
 
	InitWindowSystem();
 
	memset(&_thd, 0, sizeof(TileHighlightData));
 
	_thd.pos.x = 0;
 
	_thd.pos.y = 0;
 
}
 

	
 
static void DecreaseWindowCounters(void)
0 comments (0 inline, 0 general)