mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Convert plUoid's object name to a plString
This commit is contained in:
@ -57,10 +57,10 @@ char plAGMasterSDLModifier::AGMasterVarNames::kStrBlends[]="blends";
|
||||
UInt32 plAGMasterSDLModifier::IApplyModFlags(UInt32 sendFlags)
|
||||
{
|
||||
// ugly hack so bug light animation state isn't stored on the server
|
||||
if (stricmp(GetTarget()->GetKeyName(), "RTOmni-BugLightTest") == 0)
|
||||
if (GetTarget()->GetKeyName().Compare("RTOmni-BugLightTest", plString::kCaseInsensitive) == 0)
|
||||
return (sendFlags | plSynchedObject::kDontPersistOnServer | plSynchedObject::kIsAvatarState);
|
||||
// ditto for the KI light
|
||||
if (stricmp(GetTarget()->GetKeyName(), "RTOmniKILight") == 0)
|
||||
if (GetTarget()->GetKeyName().Compare("RTOmniKILight", plString::kCaseInsensitive) == 0)
|
||||
return (sendFlags | plSynchedObject::kDontPersistOnServer | plSynchedObject::kIsAvatarState);
|
||||
|
||||
return sendFlags;
|
||||
|
Reference in New Issue
Block a user