Browse Source

Fixed crash from unitialzied ptr.

Michał W. Urbańczyk 13 years ago
parent
commit
871f680ccc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/StartInfo.h

+ 1 - 0
lib/StartInfo.h

@@ -102,5 +102,6 @@ struct StartInfo
 		mapfileChecksum = seedPostInit = seedToBeUsed = 0;
 		mode = INVALID;
 		choosenCampaignBonus = -1;
+		campSt = nullptr;
 	}
 };