mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 06:21:29 -04:00
Handle GetAngle axis more gracefully too
This commit is contained in:
parent
6aef52931f
commit
4f74d09179
@ -162,8 +162,6 @@ namespace MWScript
|
||||
{
|
||||
runtime.push(osg::RadiansToDegrees(ptr.getRefData().getPosition().rot[2]));
|
||||
}
|
||||
else
|
||||
throw std::runtime_error ("invalid rotation axis: " + axis);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user