summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2022-12-06 00:36:53 -0500
committerGitHub <noreply@github.com>2022-12-06 00:36:53 -0500
commit4ee0ddaa15c2ee2b3a29a005030696ce90b84684 (patch)
tree59109c51014e617bf5bac037640654d76828421d /soh/src/code
parent1e0e80f5802aaba2a4ccffedad2550245836bb7a (diff)
use enum for language (#2097)
Co-authored-by: briaguya <briaguya@alice>
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/game.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/soh/src/code/game.c b/soh/src/code/game.c
index 2b824c1ab..df8e8d98a 100644
--- a/soh/src/code/game.c
+++ b/soh/src/code/game.c
@@ -458,8 +458,7 @@ void GameState_Update(GameState* gameState) {
}
}
- //since our CVar is same value and properly default to 0 there is not problems doing this in single line.
- gSaveContext.language = CVar_GetS32("gLanguages", 0);
+ gSaveContext.language = CVar_GetS32("gLanguages", LANGUAGE_ENG);
gameState->frames++;
}