1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-21 06:14:05 +00:00

Now no longer need to handle this exception here as it is handled by the dispatcher in the OpenEngine submodule

This commit is contained in:
Jacob Essex 2011-11-09 23:12:10 +00:00
parent 9aac625000
commit 3779aaba62

View file

@ -407,10 +407,6 @@ void OMW::Engine::go()
} }
void OMW::Engine::activate() void OMW::Engine::activate()
{
// TODO: This is only a workaround. The input dispatcher should catch any exceptions thrown inside
// the input handling functions. Looks like this will require an OpenEngine modification.
try
{ {
std::string handle = mEnvironment.mWorld->getFacedHandle(); std::string handle = mEnvironment.mWorld->getFacedHandle();
@ -444,11 +440,6 @@ void OMW::Engine::activate()
interpreterContext.executeActivation(); interpreterContext.executeActivation();
} }
} }
catch (const std::exception& e)
{
std::cerr << "Activation failed: " << e.what() << std::endl;
}
}
void OMW::Engine::setCompileAll (bool all) void OMW::Engine::setCompileAll (bool all)
{ {