diff options
author | Treeki <treeki@gmail.com> | 2013-05-09 03:42:43 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-05-09 03:42:43 +0200 |
commit | ed869b55411d51a829e5b502cbbf41cd450458e1 (patch) | |
tree | f35c77684a5a62d4eec569aa49d7c31fd3cc0241 /lyt | |
parent | 9ab95a0f0efa2fa1d15da6bd6c2b5e923bb1af42 (diff) | |
download | LayoutStudio-private-nw4r-exporter.tar.gz LayoutStudio-private-nw4r-exporter.zip |
fix pattern animsprivate-nw4r-exporter
Diffstat (limited to '')
-rw-r--r-- | lyt/animation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lyt/animation.cpp b/lyt/animation.cpp index d5e87d3..bcb6bc1 100644 --- a/lyt/animation.cpp +++ b/lyt/animation.cpp @@ -77,12 +77,13 @@ LYTAnimation::LYTAnimation(QByteArray data) { importedFiles.reserve(fileCount); + qint64 strTabBegin = in.device()->pos(); for (int i = 0; i < fileCount; i++) { quint32 offs; in >> offs; qint64 saveMe = in.device()->pos(); - in.device()->seek(offs-8); + in.device()->seek(strTabBegin + offs); importedFiles.append(ReadVariableLengthASCII(in)); in.device()->seek(saveMe); |