mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2026-05-04 04:09:12 -04:00
d2ds1: fixed bug, when (if version was >= v16), the file was encoded incorrectly
This commit is contained in:
@@ -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)))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user