diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-08-03 09:01:45 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-08-03 09:01:45 +0400 |
commit | e4d396f30004bfd7f165427a344accf962fa9501 (patch) | |
tree | a2a5478129cdc9cffa2561352c376b13b17c2714 /source/gameengine | |
parent | ad65bc331572ddcd4426693f0554c37b1a2b274c (diff) |
BGE: Making sure m_line is initialized in the Exception (VideoTexture) constructor.
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/VideoTexture/Exception.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |