console membervar cleanup

This commit is contained in:
Azaezel 2018-03-16 20:05:47 -05:00
parent a2ca9c634f
commit 21f9c3343c
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;