Remove ugly hack.
svn-id: r44121
This commit is contained in:
parent
ee48b944f7
commit
f1a218bb32
1 changed files with 5 additions and 3 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue