mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Fixed: Warning comparing an enum to an int
--HG-- branch : hotfix
This commit is contained in:
parent
859387758d
commit
3509d75ad6
2 changed files with 2 additions and 1 deletions
|
@ -797,7 +797,7 @@ void CCharacter3D::setup (const SCharacter3DSetup &c3ds)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Instance skin color
|
// Instance skin color
|
||||||
if (c3ds.People != -1)
|
if (c3ds.People != EGSPD::CPeople::Undefined)
|
||||||
if ((c3ds.People != _CurrentSetup.People) || bInstanceRebuilt || bQualityRebuilt)
|
if ((c3ds.People != _CurrentSetup.People) || bInstanceRebuilt || bQualityRebuilt)
|
||||||
{
|
{
|
||||||
if (!_Instances[i].empty())
|
if (!_Instances[i].empty())
|
||||||
|
|
|
@ -51,6 +51,7 @@ public:
|
||||||
|
|
||||||
enum TPeople
|
enum TPeople
|
||||||
{
|
{
|
||||||
|
Undefined = -1,
|
||||||
Humanoid = 0,
|
Humanoid = 0,
|
||||||
Playable = 0,
|
Playable = 0,
|
||||||
Fyros = 0,
|
Fyros = 0,
|
||||||
|
|
Loading…
Reference in a new issue