Skip to content

Commit a1db578

Browse files
florianesslGhabry
authored andcommitted
Fix 3DS Build
1 parent 4446b13 commit a1db578

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/player.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ int32_t Player::Constants::MaxExpValue() {
17411741
}
17421742

17431743
int32_t Player::Constants::MaxLevel() {
1744-
int max_level = Player::IsRPG2k() ? max_level_2k : max_level_2k3;
1744+
auto max_level = Player::IsRPG2k() ? max_level_2k : max_level_2k3;
17451745
if (TryGetOverriddenConstant(GameConstantType::MaxLevel, max_level)) {
17461746
return max_level;
17471747
}

0 commit comments

Comments
 (0)