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
10 changes: 4 additions & 6 deletions src/Solocraft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@ class SolocraftConfig : public WorldScript
public:
SolocraftConfig() : WorldScript("SolocraftConfig") {}

void OnBeforeConfigLoad(bool reload) override
void OnBeforeConfigLoad(bool /*reload*/) override
{
if (!reload) {
// Load Configuration Settings
SetInitialWorldSettings();
}
// Load Configuration Settings
SetInitialWorldSettings();
}

// Load Configuration Settings
Expand Down Expand Up @@ -528,7 +526,7 @@ class SolocraftPlayerInstanceHandler : public PlayerScript

int SpellPowerBonus = 0;

// Check for an existing No XP Gain flag - other mod compatibility
// Check for an existing No XP Gain flag - other mod compatibility
if (player->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_NO_XP_GAIN))
{
SolocraftNoXPFlag = 1;
Expand Down