diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Rabbit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Rabbit.cpp b/src/Mobs/Rabbit.cpp index 9750ed5d1..f4de0ba0c 100644 --- a/src/Mobs/Rabbit.cpp +++ b/src/Mobs/Rabbit.cpp @@ -10,8 +10,8 @@ cRabbit::cRabbit(void) : - cRabbit(static_cast<eRabbitType>(cFastRandom().NextInt( - static_cast<UInt8>(eRabbitType::SaltAndPepper) + 1 // Max possible Rabbit-Type + cRabbit(static_cast<eRabbitType>(GetRandomProvider().RandInt<UInt8>( + static_cast<UInt8>(eRabbitType::SaltAndPepper) // Max possible Rabbit-Type )), 0) { } |