Skip to content

Commit

Permalink
Yo dawg, I heard you like reading in a writer.
Browse files Browse the repository at this point in the history
... And writing in a reader, apparently.
  • Loading branch information
Hoikas committed Feb 10, 2021
1 parent 4b87df9 commit a35cf6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/Plasma/NucleusLib/pnMessage/plAudioSysMsg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
void plAudioSysMsg::Read(hsStream* stream, hsResMgr* mgr)
{
plMessage::IMsgRead(stream, mgr);
stream->WriteLE(fAudFlag);
mgr->WriteKey(stream, pObj);
stream->ReadLE(&fAudFlag);
pObj = mgr->ReadKey(stream);
}

void plAudioSysMsg::Write(hsStream* stream, hsResMgr* mgr)
{
plMessage::IMsgWrite(stream, mgr);
stream->ReadLE(&fAudFlag);
pObj = mgr->ReadKey(stream);
stream->WriteLE(fAudFlag);
mgr->WriteKey(stream, pObj);
}

0 comments on commit a35cf6e

Please sign in to comment.