(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)

This commit is contained in:
Darkvater
2005-05-02 17:14:31 +00:00
parent 1fb4a182e7
commit 17d1d4a750

View File

@@ -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)