From: <ave...@us...> - 2007-08-08 19:35:39
|
Revision: 4753 http://gemrb.svn.sourceforge.net/gemrb/?rev=4753&view=rev Author: avenger_teambg Date: 2007-08-08 12:35:39 -0700 (Wed, 08 Aug 2007) Log Message: ----------- fixed iwd2 creature loading (class levels) Modified Paths: -------------- gemrb/trunk/gemrb/plugins/CREImporter/CREImp.cpp Modified: gemrb/trunk/gemrb/plugins/CREImporter/CREImp.cpp =================================================================== --- gemrb/trunk/gemrb/plugins/CREImporter/CREImp.cpp 2007-08-07 21:12:19 UTC (rev 4752) +++ gemrb/trunk/gemrb/plugins/CREImporter/CREImp.cpp 2007-08-08 19:35:39 UTC (rev 4753) @@ -1206,8 +1206,6 @@ str->Read( & tmpByte, 1 ); act->BaseStats[IE_LEVELFIGHTER]=tmpByte; str->Read( & tmpByte, 1 ); - act->BaseStats[IE_LEVELMAGE]=tmpByte; - str->Read( & tmpByte, 1 ); act->BaseStats[IE_LEVELMONK]=tmpByte; str->Read( & tmpByte, 1 ); act->BaseStats[IE_LEVELPALADIN]=tmpByte; @@ -1217,6 +1215,8 @@ act->BaseStats[IE_LEVELTHIEF]=tmpByte; str->Read( & tmpByte, 1 ); act->BaseStats[IE_LEVELSORCEROR]=tmpByte; + str->Read( & tmpByte, 1 ); + act->BaseStats[IE_LEVELMAGE]=tmpByte; str->Seek( 22, GEM_CURRENT_POS ); //levels for classes for (i=0;i<64;i++) { str->ReadDword( &act->StrRefs[i] ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |