Remove Random passes by pointer.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -35,7 +35,7 @@ Creature* CreateCreature::Create() {
|
||||
auto variant = species->GetVariant(this->_variant);
|
||||
Library::TalentIndex talent;
|
||||
if (this->_talent.Empty()) {
|
||||
talent = variant->GetRandomTalent(&rand);
|
||||
talent = variant->GetRandomTalent(rand);
|
||||
} else {
|
||||
talent = variant->GetTalentIndex(this->_talent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user