From e4d396f30004bfd7f165427a344accf962fa9501 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sat, 3 Aug 2013 05:01:45 +0000 Subject: [PATCH] BGE: Making sure m_line is initialized in the Exception (VideoTexture) constructor. --- source/gameengine/VideoTexture/Exception.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/gameengine/VideoTexture/Exception.cpp b/source/gameengine/VideoTexture/Exception.cpp index 0f571550205..804834af4cd 100644 --- a/source/gameengine/VideoTexture/Exception.cpp +++ b/source/gameengine/VideoTexture/Exception.cpp @@ -111,6 +111,8 @@ Exception::Exception (ExceptionID & expID, RESULT rslt, const char *fil, int lin // set file and line if (fil[0] != '\0' || lin > 0) setFileLine (fil, lin); + else + m_line = -1; }