mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04: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:
parent
9aac625000
commit
3779aaba62
@ -408,10 +408,6 @@ void OMW::Engine::go()
|
||||
|
||||
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();
|
||||
|
||||
if (handle.empty())
|
||||
@ -443,11 +439,6 @@ void OMW::Engine::activate()
|
||||
{
|
||||
interpreterContext.executeActivation();
|
||||
}
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
std::cerr << "Activation failed: " << e.what() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
void OMW::Engine::setCompileAll (bool all)
|
||||
|
Loading…
x
Reference in New Issue
Block a user