(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:
		
							
								
								
									
										3
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								window.c
									
									
									
									
									
								
							@@ -716,7 +716,8 @@ void ResetWindowSystem(void)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	UnInitWindowSystem();
 | 
						UnInitWindowSystem();
 | 
				
			||||||
	InitWindowSystem();
 | 
						InitWindowSystem();
 | 
				
			||||||
	memset(&_thd, 0, sizeof(TileHighlightData));
 | 
						_thd.pos.x = 0;
 | 
				
			||||||
 | 
						_thd.pos.y = 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void DecreaseWindowCounters(void)
 | 
					static void DecreaseWindowCounters(void)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user