From d44b8aa8531748102aa344419bc2d3765b35a12d Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 20 Apr 2014 21:07:28 -0400 Subject: [PATCH] Fix uninit'd GetCommandLine ptr in event that tier0 is not found. --- core/HalfLife2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/HalfLife2.cpp b/core/HalfLife2.cpp index 33a11eb7..2c034d33 100644 --- a/core/HalfLife2.cpp +++ b/core/HalfLife2.cpp @@ -95,6 +95,8 @@ static CEntInfo *EntInfoArray() CHalfLife2::CHalfLife2() { m_Maps.init(); + + m_pGetCommandLine = NULL; } CHalfLife2::~CHalfLife2()