Skip to content

Commit

Permalink
Made workaround for xrGame CTD better.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-boyarshin committed Oct 5, 2014
1 parent 7309acb commit 5233a55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/xrGame/Entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,19 +331,19 @@ void CEntity::shedule_Update(u32 dt)
try {
lDestroy = getDestroy();
}
catch (std::exception& e) {
catch (...) {
Msg("RELEASE CONFIGURATION FIX: lDestroy failed");
}
try {
lAlive = g_Alive();
}
catch (std::exception& e) {
catch (...) {
Msg("RELEASE CONFIGURATION FIX: lAlive failed");
}
try {
lKillerId = m_killer_id != u16(-1);
}
catch (std::exception& e) {
catch (...) {
Msg("RELEASE CONFIGURATION FIX: lKillerId failed");
}
try {
Expand All @@ -357,7 +357,7 @@ void CEntity::shedule_Update(u32 dt)
}
}
}
catch (std::exception& e) {
catch (...) {
Msg("RELEASE CONFIGURATION FIX: if block failed");
}
}
Expand Down

0 comments on commit 5233a55

Please sign in to comment.