From 4f74d09179bf3a9540d58887adc3a6e8ca76b0e5 Mon Sep 17 00:00:00 2001 From: Alexei Dobrohotov <21265616+Capostrophic@users.noreply.github.com> Date: Sat, 4 May 2019 00:24:23 +0300 Subject: [PATCH] Handle GetAngle axis more gracefully too --- apps/openmw/mwscript/transformationextensions.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/openmw/mwscript/transformationextensions.cpp b/apps/openmw/mwscript/transformationextensions.cpp index 33a71a94af..5ad51f887b 100644 --- a/apps/openmw/mwscript/transformationextensions.cpp +++ b/apps/openmw/mwscript/transformationextensions.cpp @@ -162,8 +162,6 @@ namespace MWScript { runtime.push(osg::RadiansToDegrees(ptr.getRefData().getPosition().rot[2])); } - else - throw std::runtime_error ("invalid rotation axis: " + axis); } };