BGE: Making sure m_line is initialized in the Exception (VideoTexture) constructor.

This commit is contained in:
2013-08-03 05:01:45 +00:00
parent ad65bc3315
commit e4d396f300

View File

@@ -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;
}