diff options
Diffstat (limited to 'src/T2DLL/T2ImageObj.cpp')
-rw-r--r-- | src/T2DLL/T2ImageObj.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/T2DLL/T2ImageObj.cpp b/src/T2DLL/T2ImageObj.cpp index cea6308..08ae773 100644 --- a/src/T2DLL/T2ImageObj.cpp +++ b/src/T2DLL/T2ImageObj.cpp @@ -286,7 +286,7 @@ void T2ImageObj::EnumParts(int index, int width, PARTSLIST* outParts, int* outCo } else if (mData[index].subParts[i].flags & SPD_PARTS_BY_ID) { // Search for an object and include its part list int prevCount = *outCount; - EnumParts(FindObject(mData[index].subParts[i].objectID, -1, 0, 0, 255), width, outParts, outCount); + EnumParts(FindObject(mData[index].subParts[i].objectID), width, outParts, outCount); for (; prevCount < *outCount; prevCount++) width -= (outParts[prevCount].rect.right - outParts[prevCount].rect.left); } |