WINTERMUTE: Fixed AmigaOS4 compilation

This commit is contained in:
Paweł Kołodziejski 2022-09-11 23:51:05 +02:00
parent f37ee05a7a
commit fddfc47e5b
No known key found for this signature in database
GPG Key ID: 0BDADC9E74440FF7

View File

@ -141,7 +141,7 @@ bool XModel::loadFromFile(const Common::String &filename, XModel *parentModel) {
_rootFrame = new FrameNode(_gameRef);
uint32 numChildren = 0;
uint numChildren = 0;
xfile->getEnum().getChildren(numChildren);
for (uint i = 0; i < numChildren; i++) {
resLoop = xfile->getEnum().getChild(i, xobj);
@ -196,7 +196,7 @@ bool XModel::mergeFromFile(const Common::String &filename) {
XFileData xobj;
bool resLoop = false;
uint32 numChildren = 0;
uint numChildren = 0;
xfile->getEnum().getChildren(numChildren);
for (uint i = 0; i < numChildren; i++) {
resLoop = xfile->getEnum().getChild(i, xobj);