diff --git a/game/dlmissionpack.cpp b/game/dlmissionpack.cpp index 879a815..6c0fc64 100644 --- a/game/dlmissionpack.cpp +++ b/game/dlmissionpack.cpp @@ -574,6 +574,10 @@ void DownloadMissionPackForm::HideShow() { // Get the pack info for this pack IndexEntry *entry = (IndexEntry *)plstc->GetSelectedItemData(); + if (entry == NULL) { + return; + } + char *psz = NULL; switch (gppackm->IsInstalled(&entry->packid)) { case 0: