mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 21:32:52 +01:00
Core/Movement: add missing parenthesis on MotionMaster::Size
pretty sure this can cause unexpected behaviour
This commit is contained in:
@@ -120,7 +120,7 @@ bool MotionMaster::Empty() const
|
||||
|
||||
uint32 MotionMaster::Size() const
|
||||
{
|
||||
return _defaultGenerator ? 1 : 0 + uint32(_generators.size());
|
||||
return (_defaultGenerator ? 1 : 0) + uint32(_generators.size());
|
||||
}
|
||||
|
||||
std::vector<MovementGeneratorInformation> MotionMaster::GetMovementGeneratorsInformation() const
|
||||
|
||||
Reference in New Issue
Block a user