[Scummvm-cvs-logs] SF.net SVN: scummvm:[44121] scummvm/trunk/tools/create_kyradat/ create_kyradat.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Sep 16 23:22:29 CEST 2009


Revision: 44121
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44121&view=rev
Author:   lordhoto
Date:     2009-09-16 21:22:28 +0000 (Wed, 16 Sep 2009)

Log Message:
-----------
Remove ugly hack.

Modified Paths:
--------------
    scummvm/trunk/tools/create_kyradat/create_kyradat.cpp

Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.cpp	2009-09-16 21:13:12 UTC (rev 44120)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.cpp	2009-09-16 21:22:28 UTC (rev 44121)
@@ -479,11 +479,13 @@
 	}
 
 	if (fmtPatch == 2) {
-		if (g->special == kFMTownsVersionE)
+		if (g->special == kFMTownsVersionE) {
 			targetsize--;
-		if (g->special == kFMTownsVersionJ)
+			entries += 1;
+		} else if (g->special == kFMTownsVersionJ) {
 			targetsize += 2;
-		entries += (g->special - 1);
+			entries += 2;
+		}
 	}
 
 	if (fmtPatch == 3) {


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