From 871f680ccca6e6d2521c431295b993699248bebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Thu, 20 Sep 2012 16:25:31 +0000 Subject: [PATCH] Fixed crash from unitialzied ptr. --- lib/StartInfo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/StartInfo.h b/lib/StartInfo.h index 64fe9f9fb..c6d128c3b 100644 --- a/lib/StartInfo.h +++ b/lib/StartInfo.h @@ -102,5 +102,6 @@ struct StartInfo mapfileChecksum = seedPostInit = seedToBeUsed = 0; mode = INVALID; choosenCampaignBonus = -1; + campSt = nullptr; } };