this should trigger invalid resource types loads, if that ever happens

svn-id: r26818
This commit is contained in:
Gregory Montoir 2007-05-13 02:07:54 +00:00
parent e7834656a2
commit 67c9099c34

View File

@ -193,8 +193,8 @@ uint32 ToucheEngine::res_getDataOffset(ResourceType type, int num, uint32 *size)
const ResourceData *rd = NULL;
for (unsigned int i = 0; i < ARRAYSIZE(dataTypesTable); ++i) {
rd = &dataTypesTable[i];
if (rd->type == type) {
if (dataTypesTable[i].type == type) {
rd = &dataTypesTable[i];
break;
}
}