(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 8f6b3154e5
commit 63784c5b5a
1 changed files with 2 additions and 1 deletions

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)