mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 03:09:13 +00:00
Fix string usage that was broken from enabling the Max plugin build
This commit is contained in:
@ -203,7 +203,7 @@ hsBool plAxisAnimModifier::MsgReceive(plMessage* msg)
|
||||
return true;
|
||||
plAnimCmdMsg* pMsg = new plAnimCmdMsg;
|
||||
pMsg->AddReceiver(fXAnim);
|
||||
pMsg->SetAnimName(fAnimLabel.c_str());
|
||||
pMsg->SetAnimName(fAnimLabel);
|
||||
// pMsg->SetAnimName()
|
||||
if (fXPos < pMMsg->GetXPos())
|
||||
{
|
||||
@ -223,7 +223,7 @@ hsBool plAxisAnimModifier::MsgReceive(plMessage* msg)
|
||||
return true;
|
||||
plAnimCmdMsg* pMsg = new plAnimCmdMsg;
|
||||
pMsg->AddReceiver(fYAnim);
|
||||
pMsg->SetAnimName(fAnimLabel.c_str());
|
||||
pMsg->SetAnimName(fAnimLabel);
|
||||
if (fYPos > pMMsg->GetYPos())
|
||||
{
|
||||
if (fAllOrNothing)
|
||||
@ -301,7 +301,7 @@ hsBool plAxisAnimModifier::MsgReceive(plMessage* msg)
|
||||
pMsg->SetCmd(plAnimCmdMsg::kAddCallbacks);
|
||||
pMsg->AddCallback(pCall1);
|
||||
pMsg->AddCallback(pCall2);
|
||||
pMsg->SetAnimName(fAnimLabel.c_str());
|
||||
pMsg->SetAnimName(fAnimLabel);
|
||||
pMsg->AddReceiver( fXAnim );
|
||||
|
||||
hsRefCnt_SafeUnRef( pCall1 );
|
||||
@ -330,7 +330,7 @@ hsBool plAxisAnimModifier::MsgReceive(plMessage* msg)
|
||||
pMsg->AddCallback(pCall1);
|
||||
pMsg->AddCallback(pCall2);
|
||||
pMsg->AddReceiver( fYAnim );
|
||||
pMsg->SetAnimName(fAnimLabel.c_str());
|
||||
pMsg->SetAnimName(fAnimLabel);
|
||||
|
||||
hsRefCnt_SafeUnRef( pCall1 );
|
||||
hsRefCnt_SafeUnRef( pCall2 );
|
||||
|
@ -45,6 +45,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include "hsStlUtils.h"
|
||||
#include "pnModifier/plSingleModifier.h"
|
||||
#include "plString.h"
|
||||
|
||||
|
||||
class plKey;
|
||||
@ -74,7 +75,7 @@ protected:
|
||||
int fIface;
|
||||
plNotifyMsg* fNotify;
|
||||
|
||||
std::string fAnimLabel;
|
||||
plString fAnimLabel;
|
||||
|
||||
plAxisInputInterface *fInputIface;
|
||||
|
||||
@ -100,8 +101,8 @@ public:
|
||||
void SetNotificationKey(plKey k) { fNotificationKey = k; }
|
||||
plNotifyMsg* GetNotify() { return fNotify; }
|
||||
|
||||
const char* GetAnimLabel() const {return fAnimLabel.c_str();}
|
||||
void SetAnimLabel(const char* a) {fAnimLabel = a; }
|
||||
plString GetAnimLabel() const { return fAnimLabel; }
|
||||
void SetAnimLabel(const plString& a) { fAnimLabel = a; }
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user