1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 07:09:42 +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;
};