mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-10-01 15:46:17 -04:00
Merge pull request #1118 from gucio321/d2ds1-fixes
d2ds1: fixed bug, when the file was encoded incorrectly
This commit is contained in:
commit
2f4663c680
@ -572,7 +572,7 @@ func (ds1 *DS1) Marshal() []byte {
|
|||||||
sw.PushInt32(int32(len(ds1.Walls)))
|
sw.PushInt32(int32(len(ds1.Walls)))
|
||||||
|
|
||||||
if ds1.version.specifiesFloors() {
|
if ds1.version.specifiesFloors() {
|
||||||
sw.PushInt32(int32(len(ds1.Walls)))
|
sw.PushInt32(int32(len(ds1.Floors)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user