1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-16 16:20:53 +00:00

use const.

This commit is contained in:
Mads Buvik Sandvei 2023-11-04 16:18:36 +01:00
parent c7c3a52e6a
commit 9ebec27daf
2 changed files with 2 additions and 2 deletions

View File

@ -2913,7 +2913,7 @@ namespace MWMechanics
MWBase::Environment::get().getSoundManager()->playSound3D(mPtr, *soundId, volume, pitch);
}
float CharacterController::getAnimationMovementDirection()
float CharacterController::getAnimationMovementDirection() const
{
switch (mMovementState)
{

View File

@ -319,7 +319,7 @@ namespace MWMechanics
void playSwishSound() const;
float getAnimationMovementDirection();
float getAnimationMovementDirection() const;
MWWorld::MovementDirectionFlags getSupportedMovementDirections() const;
};