mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Fix unsafe cast
This commit is contained in:
@ -100,7 +100,7 @@ void plAvCoopMsg::Read(hsStream *stream, hsResMgr *mgr)
|
|||||||
plMessage::IMsgRead(stream, mgr);
|
plMessage::IMsgRead(stream, mgr);
|
||||||
|
|
||||||
if(stream->ReadBool())
|
if(stream->ReadBool())
|
||||||
fCoordinator = reinterpret_cast<plCoopCoordinator *>(mgr->ReadCreatable(stream));
|
fCoordinator = plCoopCoordinator::ConvertNoRef(mgr->ReadCreatable(stream));
|
||||||
|
|
||||||
fInitiatorID = stream->ReadLE32();
|
fInitiatorID = stream->ReadLE32();
|
||||||
fInitiatorSerial = stream->ReadLE16();
|
fInitiatorSerial = stream->ReadLE16();
|
||||||
|
Reference in New Issue
Block a user