Revert for loop

This commit is contained in:
Rose 2022-09-30 15:55:03 -04:00
commit 3336ab4769

View file

@ -42,7 +42,7 @@ COpndCommand CommandDeserializer::DeserializeOperand()
std::shared_ptr<std::vector<int>> cmdVector = std::make_shared<std::vector<int>>();
auto cmdVectorSize = m_dataReader->ReadUInt32();
for (auto j = cmdVectorSize; j > 0; --j)
for (unsigned int j = 0; j < cmdVectorSize; ++j)
{
int eachOpndcmd = m_dataReader->ReadInt32();
cmdVector->push_back(eachOpndcmd);