[Scummvm-cvs-logs] SF.net SVN: scummvm: [32917] residual/trunk/engine/costume.cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sat Jul 5 17:06:40 CEST 2008
Revision: 32917
http://scummvm.svn.sourceforge.net/scummvm/?rev=32917&view=rev
Author: peres001
Date: 2008-07-05 08:06:39 -0700 (Sat, 05 Jul 2008)
Log Message:
-----------
Fixed endianness bug (courtesy of yak from #scummvm).
Modified Paths:
--------------
residual/trunk/engine/costume.cpp
Modified: residual/trunk/engine/costume.cpp
===================================================================
--- residual/trunk/engine/costume.cpp 2008-07-05 14:55:09 UTC (rev 32916)
+++ residual/trunk/engine/costume.cpp 2008-07-05 15:06:39 UTC (rev 32917)
@@ -915,7 +915,7 @@
continue;
// Needs to handle Main Models (pigeons) and normal Models
// (when Manny climbs the rope)
- if (_components[i]->tag() == MKID_BE('MMDL'))
+ if (FROM_BE_32(_components[i]->tag()) == MKID_BE('MMDL'))
return dynamic_cast<ModelComponent *>(_components[i])->hierarchy();
}
return NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list