mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-31 03:50:37 -07:00
use enum for language (#2097)
Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
1e0e80f580
commit
4ee0ddaa15
4 changed files with 8 additions and 9 deletions
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue