mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Get rid of NEW(), TRACKED_NEW, and ZERO().
This commit is contained in:
@ -111,11 +111,11 @@ void plSharedMesh::Read(hsStream* s, hsResMgr* mgr)
|
||||
fSpans.SetCount(s->ReadLE32());
|
||||
for (i = 0; i < fSpans.GetCount(); i++)
|
||||
{
|
||||
fSpans[i] = TRACKED_NEW plGeometrySpan;
|
||||
fSpans[i] = new plGeometrySpan;
|
||||
fSpans[i]->Read(s);
|
||||
}
|
||||
|
||||
mgr->ReadKeyNotifyMe(s, TRACKED_NEW plGenRefMsg(GetKey(), plRefMsg::kOnCreate, -1, -1), plRefFlags::kActiveRef);
|
||||
mgr->ReadKeyNotifyMe(s, new plGenRefMsg(GetKey(), plRefMsg::kOnCreate, -1, -1), plRefFlags::kActiveRef);
|
||||
fFlags = s->ReadByte();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user