Fix player model settings
This commit is contained in:
parent
624a36ad75
commit
5731cd6058
|
@ -166,9 +166,10 @@ int artInit()
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SFALL: Modify player model settings.
|
||||||
char* jumpsuitMaleFileName = NULL;
|
char* jumpsuitMaleFileName = NULL;
|
||||||
configGetString(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_DUDE_NATIVE_LOOK_JUMPSUIT_MALE_KEY, &jumpsuitMaleFileName);
|
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;
|
jumpsuitMaleFileName = gDefaultJumpsuitMaleFileName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue