1
0
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:
2013-01-20 20:48:41 -08:00
parent c65ac61fb8
commit f86b549293
36 changed files with 123 additions and 130 deletions

View File

@ -1339,7 +1339,7 @@ bool plArmatureMod::MsgReceive(plMessage* msg)
}
else
{
if (cloneMsg->GetCloneKey() == GetFollowerParticleSystemSO())
if (cloneMsg->GetCloneKey() == GetFollowerParticleSystemSO()->GetKey())
{
SetFollowerParticleSystemSO(nil);
return true;

View File

@ -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)
{