Skip to content

Commit

Permalink
Merge pull request #366 from stridera/wimpy-value-bug
Browse files Browse the repository at this point in the history
loads player with previously saved wimpy value
  • Loading branch information
ecourtt authored Jul 1, 2024
2 parents f1398d5 + 69c5a7a commit d21793b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/players.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ int load_player(const char *name, CharData *ch) {
if (!strcasecmp(tag, "weight"))
GET_WEIGHT(ch) = num;
else if (!strcasecmp(tag, "wimpy"))
GET_WIMP_LEV(ch) = std::clamp(num, 0, LVL_IMPL);
GET_WIMP_LEV(ch) = num;
else if (!strcasecmp(tag, "wisdom"))
GET_NATURAL_WIS(ch) = num;
else if (!strcasecmp(tag, "wiztitle"))
Expand Down

0 comments on commit d21793b

Please sign in to comment.