OSDN Git Service
(root)
/
skyscrapersim
/
skyscraper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08a044b
)
Added unknown exception handler
author
ryan
<>
Sun, 25 Dec 2016 20:58:57 +0000
(20:58 +0000)
committer
ryan
<>
Sun, 25 Dec 2016 20:58:57 +0000
(20:58 +0000)
src/frontend/skyscraper.cpp
patch
|
blob
|
history
diff --git
a/src/frontend/skyscraper.cpp
b/src/frontend/skyscraper.cpp
index
1f076d6
..
a7f4db1
100644
(file)
--- a/
src/frontend/skyscraper.cpp
+++ b/
src/frontend/skyscraper.cpp
@@
-443,6
+443,10
@@
bool Skyscraper::Initialize()
{
return ReportFatalError("Error initializing OGRE\nDetails: " + e.getDescription());
}
+ catch (...)
+ {
+ return ReportFatalError("Error initializing OGRE");
+ }
}
//set up overlay system