mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 20:45:34 +00:00
Fix copy paste error
This commit is contained in:
parent
68a1958c94
commit
bc5e43ab60
1 changed files with 6 additions and 6 deletions
|
@ -262,15 +262,15 @@ namespace MWScript
|
|||
{
|
||||
if (axis[0] == 'x')
|
||||
{
|
||||
ret = osg::RadiansToDegrees(ptr.getRefData().getPosition().pos[0]);
|
||||
ret = ptr.getRefData().getPosition().pos[0];
|
||||
}
|
||||
else if (axis[0] == 'y')
|
||||
{
|
||||
ret = osg::RadiansToDegrees(ptr.getRefData().getPosition().pos[1]);
|
||||
ret = ptr.getRefData().getPosition().pos[1];
|
||||
}
|
||||
else if (axis[0] == 'z')
|
||||
{
|
||||
ret = osg::RadiansToDegrees(ptr.getRefData().getPosition().pos[2]);
|
||||
ret = ptr.getRefData().getPosition().pos[2];
|
||||
}
|
||||
}
|
||||
runtime.push(ret);
|
||||
|
@ -348,15 +348,15 @@ namespace MWScript
|
|||
{
|
||||
if (axis[0] == 'x')
|
||||
{
|
||||
ret = osg::RadiansToDegrees(ptr.getCellRef().getPosition().pos[0]);
|
||||
ret = ptr.getCellRef().getPosition().pos[0];
|
||||
}
|
||||
else if (axis[0] == 'y')
|
||||
{
|
||||
ret = osg::RadiansToDegrees(ptr.getCellRef().getPosition().pos[1]);
|
||||
ret = ptr.getCellRef().getPosition().pos[1];
|
||||
}
|
||||
else if (axis[0] == 'z')
|
||||
{
|
||||
ret = osg::RadiansToDegrees(ptr.getCellRef().getPosition().pos[2]);
|
||||
ret = ptr.getCellRef().getPosition().pos[2];
|
||||
}
|
||||
}
|
||||
runtime.push(ret);
|
||||
|
|
Loading…
Reference in a new issue