mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 20:29:10 +00:00
Fix string usage that was broken from enabling the Max plugin build
This commit is contained in:
@ -130,13 +130,12 @@ hsBool plOneShotMod::MsgReceive(plMessage* msg)
|
||||
|
||||
if(avMod)
|
||||
{
|
||||
char *animName = avMod->MakeAnimationName(fAnimName);
|
||||
plString animName = avMod->MakeAnimationName(fAnimName);
|
||||
|
||||
plAvOneShotMsg *avOSmsg = new plAvOneShotMsg(myKey, oneShotMsg->fPlayerKey, objKey,
|
||||
fSeekDuration, (hsBool)fSmartSeek, animName, fDrivable,
|
||||
fReversable);
|
||||
|
||||
delete [] animName; // AvOneShotMsg constructor copies.
|
||||
avOSmsg->fNoSeek = fNoSeek;
|
||||
avOSmsg->SetBCastFlag(plMessage::kPropagateToModifiers);
|
||||
hsRefCnt_SafeRef(oneShotMsg->fCallbacks);
|
||||
|
Reference in New Issue
Block a user