mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 21:40:05 +00:00
Fix Female Characters always failing validation
This commit is contained in:
parent
b0aea27418
commit
a9a8d96321
@ -290,7 +290,7 @@ bool validateCharacterCreation(sP_CL2LS_REQ_CHAR_CREATE* character) {
|
|||||||
|
|
||||||
// facestyle and hairstyle are gender dependent
|
// facestyle and hairstyle are gender dependent
|
||||||
if (!(style->iGender == 1 && style->iFaceStyle >= 1 && style->iFaceStyle <= 5 && style->iHairStyle >= 1 && style->iHairStyle <= 23) ||
|
if (!(style->iGender == 1 && style->iFaceStyle >= 1 && style->iFaceStyle <= 5 && style->iHairStyle >= 1 && style->iHairStyle <= 23) ||
|
||||||
(style->iGender == 2 && style->iFaceStyle >= 6 && style->iFaceStyle <= 10 && style->iHairStyle >= 25 && style->iHairStyle <= 45))
|
!(style->iGender == 2 && style->iFaceStyle >= 6 && style->iFaceStyle <= 10 && style->iHairStyle >= 25 && style->iHairStyle <= 45))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// validate items
|
// validate items
|
||||||
|
Loading…
Reference in New Issue
Block a user