Replaced delete operator with delete[]

svn-id: r44514
This commit is contained in:
Paul Gilbert 2009-10-01 12:03:12 +00:00
parent 7d6848dfa3
commit e67b0ef08c

View File

@ -1426,7 +1426,7 @@ CurrentActionEntry *CurrentActionEntry::loadFromStream(ReadStream *stream) {
paramList[index] = stream->readUint16LE();
result->_supportData->setDetails2(action, numParams, paramList);
delete paramList;
delete[] paramList;
result->_dynamicSupportData = true;
} else {
// Load action entry with an NPC schedule entry