1
0
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:
2014-01-23 22:35:33 -05:00
parent 51c594a3b3
commit 14b3d3f03c

View File

@ -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();