1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:53:53 +00:00

Handle GetAngle axis more gracefully too

This commit is contained in:
Alexei Dobrohotov 2019-05-04 00:24:23 +03:00 committed by GitHub
parent 6aef52931f
commit 4f74d09179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,8 +162,6 @@ namespace MWScript
{
runtime.push(osg::RadiansToDegrees(ptr.getRefData().getPosition().rot[2]));
}
else
throw std::runtime_error ("invalid rotation axis: " + axis);
}
};