Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Solocraft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ class solocraft_player_instance_handler : public PlayerScript {
// Apply the player buffs
void ApplyBuffs(Player* player, Map* map, int difficulty, int /*numInGroup*/)
{
ClearBuffs(player, map);

if (difficulty > 1)
{
// InstanceMap *instanceMap = map->ToInstanceMap();
Expand All @@ -156,6 +154,8 @@ class solocraft_player_instance_handler : public PlayerScript {
player->SetPower(POWER_MANA, player->GetMaxPower(POWER_MANA));
}
}
else
ClearBuffs(player, map);
}

void ClearBuffs(Player* player, Map* map)
Expand Down