mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Update mxdiskstreamcontroller.cpp
This commit is contained in:
parent
9a84962596
commit
20c9a39849
@ -95,15 +95,13 @@ MxDSStreamingAction* MxDiskStreamController::VTable0x28()
|
||||
MxDSStreamingAction* result = NULL;
|
||||
MxU32 filesize = m_provider->GetFileSize();
|
||||
|
||||
if(m_unk0x3c.size() != 0)
|
||||
{
|
||||
if (m_unk0x3c.size() != 0) {
|
||||
MxDSStreamingAction* oldAction = (MxDSStreamingAction*) m_unk0x3c.front();
|
||||
m_unk0x3c.pop_front();
|
||||
|
||||
MxDSStreamingAction* action = new MxDSStreamingAction(*oldAction);
|
||||
result = action;
|
||||
if(action)
|
||||
{
|
||||
if (action) {
|
||||
oldAction->SetUnknown94(action->GetBufferOffset() + filesize);
|
||||
oldAction->SetBufferOffset(action->GetBufferOffset() + filesize);
|
||||
m_unk0x3c.push_back(action);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user