1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +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);
}
};