Skip to content

Commit

Permalink
Made skill refunds only apply to non-staff
Browse files Browse the repository at this point in the history
  • Loading branch information
luciensadi committed Jul 1, 2024
1 parent 15b63b1 commit e819264
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/newdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1157,10 +1157,8 @@ bool load_char(const char *name, char_data *ch, bool logon)
GET_COND(ch, COND_FULL) = -1;
GET_COND(ch, COND_THIRST) = -1;
GET_COND(ch, COND_DRUNK) = -1;
}

// Clamp skills to maximums and refund them.
{
} else {
// Clamp skills to maximums and refund them.
bool need_save = FALSE;

for (int skill_idx = 0; skill_idx < MAX_SKILLS; skill_idx++) {
Expand Down

0 comments on commit e819264

Please sign in to comment.