Limit fortune level, style fixes
This commit is contained in:
@@ -79,9 +79,8 @@ void cDropSpenserEntity::DropSpense(cChunk & a_Chunk)
|
||||
return;
|
||||
}
|
||||
|
||||
int RandomSlot = m_World->GetTickRandomNumber(SlotsCnt - 1);
|
||||
|
||||
int SpenseSlot = OccupiedSlots[RandomSlot];
|
||||
const int RandomSlot = m_World->GetTickRandomNumber(SlotsCnt - 1);
|
||||
const int SpenseSlot = OccupiedSlots[RandomSlot];
|
||||
|
||||
if (cPluginManager::Get()->CallHookDropSpense(*m_World, *this, SpenseSlot))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user