mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
test
this is the fix!!!!!
This commit is contained in:
parent
f452ea9823
commit
b97c8fc980
2
.github/workflows/cmake.yml
vendored
2
.github/workflows/cmake.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
runs-on: ${{matrix.os}}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-latest ]
|
||||
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
|||
|
|
@ -84,18 +84,14 @@ DataChunker::DataBlock::~DataBlock()
|
|||
|
||||
void DataChunker::freeBlocks(bool keepOne)
|
||||
{
|
||||
while(mCurBlock && mCurBlock->next)
|
||||
while (mCurBlock && mCurBlock->next)
|
||||
{
|
||||
DataBlock *temp = mCurBlock->next;
|
||||
DataBlock* temp = mCurBlock->next;
|
||||
dFree(mCurBlock);
|
||||
mCurBlock = temp;
|
||||
}
|
||||
if (!keepOne)
|
||||
{
|
||||
if (mCurBlock) dFree(mCurBlock);
|
||||
mCurBlock = NULL;
|
||||
}
|
||||
else if (mCurBlock)
|
||||
|
||||
if (mCurBlock)
|
||||
{
|
||||
mCurBlock->curIndex = 0;
|
||||
mCurBlock->next = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue