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:
@ -91,7 +91,7 @@ void plSwimCircularCurrentRegion::Read(hsStream* stream, hsResMgr* mgr)
|
||||
fPullNearVel = stream->ReadLEScalar();
|
||||
fPullFarDistSq = stream->ReadLEScalar();
|
||||
fPullFarVel = stream->ReadLEScalar();
|
||||
mgr->ReadKeyNotifyMe(stream, TRACKED_NEW plGenRefMsg(GetKey(), plRefMsg::kOnCreate, -1, -1), plRefFlags::kActiveRef); // currentSO
|
||||
mgr->ReadKeyNotifyMe(stream, new plGenRefMsg(GetKey(), plRefMsg::kOnCreate, -1, -1), plRefFlags::kActiveRef); // currentSO
|
||||
}
|
||||
|
||||
void plSwimCircularCurrentRegion::Write(hsStream* stream, hsResMgr* mgr)
|
||||
@ -208,7 +208,7 @@ void plSwimStraightCurrentRegion::Read(hsStream* stream, hsResMgr* mgr)
|
||||
fNearVel = stream->ReadLEScalar();
|
||||
fFarDist = stream->ReadLEScalar();
|
||||
fFarVel = stream->ReadLEScalar();
|
||||
mgr->ReadKeyNotifyMe(stream, TRACKED_NEW plGenRefMsg(GetKey(), plRefMsg::kOnCreate, -1, -1), plRefFlags::kActiveRef); // currentSO
|
||||
mgr->ReadKeyNotifyMe(stream, new plGenRefMsg(GetKey(), plRefMsg::kOnCreate, -1, -1), plRefFlags::kActiveRef); // currentSO
|
||||
}
|
||||
|
||||
void plSwimStraightCurrentRegion::Write(hsStream* stream, hsResMgr* mgr)
|
||||
|
Reference in New Issue
Block a user