mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-07 03:07:45 +00:00
Sastasha: use int RNG
(cherry picked from commit e44f2be26ab96ab866d35d4ed849564e23dfef6f)
This commit is contained in:
parent
673157cef8
commit
3aa65a1ac9
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public:
|
|||
{
|
||||
// Random coral
|
||||
auto& RNGMgr = Common::Service< World::Manager::RNGMgr >::ref();
|
||||
instance.setCustomVar( Coral, static_cast< uint64_t >( RNGMgr.getRandGenerator< float >( Corals::Blue, Corals::Green ).next() ) );
|
||||
instance.setCustomVar( Coral, RNGMgr.getRandGenerator< uint32_t >( Corals::Blue, Corals::Green ).next() );
|
||||
|
||||
switch( instance.getCustomVar( Coral ) )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue