mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 11:33:48 +00:00
Merge pull request #342 from lukaspj/fix/replace-dstrcmp
Replace uses of dStrCmp with new String::compare
This commit is contained in:
commit
d50f1f0b81
85 changed files with 213 additions and 189 deletions
|
|
@ -259,11 +259,11 @@ bool ReflectionProbe::_setReflectionMode(void *object, const char *index, const
|
|||
{
|
||||
ReflectionProbe* probe = reinterpret_cast<ReflectionProbe*>(object);
|
||||
|
||||
if (!dStrcmp(data,"Static Cubemap"))
|
||||
if (!String::compare(data,"Static Cubemap"))
|
||||
{
|
||||
probe->mReflectionModeType = StaticCubemap;
|
||||
}
|
||||
else if (!dStrcmp(data, "Baked Cubemap"))
|
||||
else if (!String::compare(data, "Baked Cubemap"))
|
||||
{
|
||||
//Clear our cubemap if we changed it to be baked, just for cleanliness
|
||||
probe->mReflectionModeType = BakedCubemap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue