mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Get rid of NEW(), TRACKED_NEW, and ZERO().
This commit is contained in:
@ -193,7 +193,7 @@ void plAGMasterSDLModifier::ISetCurrentStateFrom(const plStateDataRecord* srcSta
|
||||
{
|
||||
float animTimeFromWorldTime = (objAGMaster->GetNumATCAnimations() > 0) ? objAGMaster->GetATCAnimInstance(0)->GetTimeConvert()->WorldToAnimTimeNoUpdate(time) : 0.0f;
|
||||
|
||||
plAGCmdMsg *msg = TRACKED_NEW plAGCmdMsg();
|
||||
plAGCmdMsg *msg = new plAGCmdMsg();
|
||||
msg->SetCmd(plAGCmdMsg::kSetAnimTime);
|
||||
msg->fAnimTime = animTimeFromWorldTime;
|
||||
msg->AddReceiver(objAGMaster->fMsgForwarder->GetKey());
|
||||
|
Reference in New Issue
Block a user