mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
make the no-clip mode move much faster
This commit is contained in:
parent
6850f3945c
commit
04ead5eb42
@ -636,7 +636,7 @@ float PM_CmdScale(playerMove::playercmd* const cmd)
|
|||||||
+ cmd->rightmove * cmd->rightmove + cmd->upmove * cmd->upmove) );
|
+ cmd->rightmove * cmd->rightmove + cmd->upmove * cmd->upmove) );
|
||||||
scale = (float)pm->ps.speed * max / ( 127.0f * total );
|
scale = (float)pm->ps.speed * max / ( 127.0f * total );
|
||||||
if(pm->ps.move_type == PM_NOCLIP)
|
if(pm->ps.move_type == PM_NOCLIP)
|
||||||
scale *= 2;
|
scale *= 10;
|
||||||
|
|
||||||
return scale;
|
return scale;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user