Remove ugly hack.

svn-id: r44121
This commit is contained in:
Johannes Schickel 2009-09-16 21:22:28 +00:00
parent ee48b944f7
commit f1a218bb32

View file

@ -479,11 +479,13 @@ bool extractStrings(PAKFile &out, const Game *g, const byte *data, const uint32
} }
if (fmtPatch == 2) { if (fmtPatch == 2) {
if (g->special == kFMTownsVersionE) if (g->special == kFMTownsVersionE) {
targetsize--; targetsize--;
if (g->special == kFMTownsVersionJ) entries += 1;
} else if (g->special == kFMTownsVersionJ) {
targetsize += 2; targetsize += 2;
entries += (g->special - 1); entries += 2;
}
} }
if (fmtPatch == 3) { if (fmtPatch == 3) {