From 5731cd6058975b2de90f775026fdd4fb8fb3b00e Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Wed, 8 Jun 2022 23:15:30 +0300 Subject: [PATCH] Fix player model settings --- src/art.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/art.cc b/src/art.cc index 31ed7a1..d2c832d 100644 --- a/src/art.cc +++ b/src/art.cc @@ -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; }