From: <ave...@us...> - 2009-06-16 20:54:21
|
Revision: 6480 http://gemrb.svn.sourceforge.net/gemrb/?rev=6480&view=rev Author: avenger_teambg Date: 2009-06-16 20:54:18 +0000 (Tue, 16 Jun 2009) Log Message: ----------- don't load unused extension type attribute Modified Paths: -------------- gemrb/trunk/gemrb/plugins/PROImporter/PROImp.cpp Modified: gemrb/trunk/gemrb/plugins/PROImporter/PROImp.cpp =================================================================== --- gemrb/trunk/gemrb/plugins/PROImporter/PROImp.cpp 2009-06-16 20:50:36 UTC (rev 6479) +++ gemrb/trunk/gemrb/plugins/PROImporter/PROImp.cpp 2009-06-16 20:54:18 UTC (rev 6480) @@ -65,7 +65,9 @@ if( !s) { return NULL; } - str->ReadWord( &s->Type ); + ieWord AreaExtension; + + str->ReadWord( &AreaExtension ); str->ReadWord( &s->Speed ); str->ReadDword( &s->SFlags ); //spark, ignore center, looping sound etc str->ReadResRef( s->SoundRes1 ); @@ -96,7 +98,7 @@ str->ReadWord( &s->TrailSpeed[1] ); str->ReadWord( &s->TrailSpeed[2] ); str->Seek(172, GEM_CURRENT_POS); - if (s->Type!=3) { + if (AreaExtension!=3) { return s; } s->InitExtension(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |