mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Re-define nil as nullptr, cleaning up some potential issues along the way
This commit is contained in:
@ -1339,7 +1339,7 @@ bool plArmatureMod::MsgReceive(plMessage* msg)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (cloneMsg->GetCloneKey() == GetFollowerParticleSystemSO())
|
||||
if (cloneMsg->GetCloneKey() == GetFollowerParticleSystemSO()->GetKey())
|
||||
{
|
||||
SetFollowerParticleSystemSO(nil);
|
||||
return true;
|
||||
|
@ -159,10 +159,10 @@ void plAvTask::IUndoLimitPlayersInput(plArmatureMod *avatar)
|
||||
plAvSeekTask::plAvSeekTask()
|
||||
: fAnimName(nil),
|
||||
fAlign(kAlignHandle),
|
||||
fDuration(0.25f),
|
||||
fDuration(0.25),
|
||||
fTarget(nil),
|
||||
fAnimInstance(nil),
|
||||
fTargetTime(nil),
|
||||
fTargetTime(0),
|
||||
fPhysicalAtStart(false),
|
||||
fCleanup(false)
|
||||
{
|
||||
@ -171,10 +171,10 @@ plAvSeekTask::plAvSeekTask()
|
||||
// CTOR target, align, animName
|
||||
plAvSeekTask::plAvSeekTask(plKey target, plAvAlignment align, const char *animName)
|
||||
: fAlign(align),
|
||||
fDuration(0.25f),
|
||||
fDuration(0.25),
|
||||
fTarget(target),
|
||||
fAnimInstance(nil),
|
||||
fTargetTime(nil),
|
||||
fTargetTime(0),
|
||||
fPhysicalAtStart(false),
|
||||
fCleanup(false)
|
||||
{
|
||||
@ -185,10 +185,10 @@ plAvSeekTask::plAvSeekTask(plKey target, plAvAlignment align, const char *animNa
|
||||
plAvSeekTask::plAvSeekTask(plKey target)
|
||||
: fAnimName(nil),
|
||||
fAlign(kAlignHandle),
|
||||
fDuration(0.25f),
|
||||
fDuration(0.25),
|
||||
fTarget(target),
|
||||
fAnimInstance(nil),
|
||||
fTargetTime(nil),
|
||||
fTargetTime(0),
|
||||
fPhysicalAtStart(false),
|
||||
fCleanup(false)
|
||||
{
|
||||
|
Reference in New Issue
Block a user