(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)
authorDarkvater
Mon, 02 May 2005 17:14:31 +0000
changeset 1744 1677a99b0daf
parent 1743 b49e71451de5
child 1745 2dcc0a66d91d
(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)
window.c
--- a/window.c	Mon May 02 17:05:59 2005 +0000
+++ b/window.c	Mon May 02 17:14:31 2005 +0000
@@ -716,7 +716,8 @@
 {
 	UnInitWindowSystem();
 	InitWindowSystem();
-	memset(&_thd, 0, sizeof(TileHighlightData));
+	_thd.pos.x = 0;
+	_thd.pos.y = 0;
 }
 
 static void DecreaseWindowCounters(void)