Fix player model settings

This commit is contained in:
Alexander Batalov 2022-06-08 23:15:30 +03:00
parent 624a36ad75
commit 5731cd6058
1 changed files with 2 additions and 1 deletions

View File

@ -166,9 +166,10 @@ int artInit()
return -1;
}
// SFALL: Modify player model settings.
char* jumpsuitMaleFileName = NULL;
configGetString(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_DUDE_NATIVE_LOOK_JUMPSUIT_MALE_KEY, &jumpsuitMaleFileName);
if (jumpsuitMaleFileName == NULL || jumpsuitMaleFileName[0] != '\0') {
if (jumpsuitMaleFileName == NULL || jumpsuitMaleFileName[0] == '\0') {
jumpsuitMaleFileName = gDefaultJumpsuitMaleFileName;
}