Added missing this->

This commit is contained in:
Anonymous
2014-01-19 04:48:17 -07:00
parent 0009d4e4a1
commit 9c977462a8
@@ -1012,12 +1012,12 @@ inline void StructParam<SP>::loadFromIff(Iff &file)
// we need to enter a fake chunk because whoever called this
// function assumes we are still in a chunk
file.enterChunk();
setValue(structTemplate);
this->setValue(structTemplate);
this->m_loaded = true;
}
break;
case TemplateBase<SP *, SP *>::WEIGHTED_LIST:
setValue(new typename TemplateBase<SP *, SP *>::WeightedList);
this->setValue(new typename TemplateBase<SP *, SP *>::WeightedList);
this->loadWeightedListFromIff(file);
break;
case TemplateBase<SP *, SP *>::NONE: