1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-07-01 11:25:26 +00:00

Merge pull request #1118 from gucio321/d2ds1-fixes

d2ds1: fixed bug, when the file was encoded incorrectly
This commit is contained in:
gravestench 2021-04-07 10:20:13 -07:00 committed by GitHub
commit 2f4663c680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -572,7 +572,7 @@ func (ds1 *DS1) Marshal() []byte {
sw.PushInt32(int32(len(ds1.Walls)))
if ds1.version.specifiesFloors() {
sw.PushInt32(int32(len(ds1.Walls)))
sw.PushInt32(int32(len(ds1.Floors)))
}
}