console membervar cleanup

This commit is contained in:
Azaezel 2018-03-16 20:05:47 -05:00
parent 189595670a
commit 9b8c950701
4 changed files with 71 additions and 71 deletions

View file

@ -392,14 +392,14 @@ bool CodeBlock::read(StringTableEntry fileName, Stream &st)
if (size)
{
globalFloats = new F64[size];
for (U32 i = 0; i < size; i++)
for (i = 0; i < size; i++)
st.read(&globalFloats[i]);
}
st.read(&size);
if (size)
{
functionFloats = new F64[size];
for (U32 i = 0; i < size; i++)
for (i = 0; i < size; i++)
st.read(&functionFloats[i]);
}
U32 codeLength;