mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-09 01:56:47 -05:00
d2ds1: fixed bug, when (if version was >= v16), the file was encoded incorrectly
This commit is contained in:
parent
7ce4583fe1
commit
e48bc48aab
@ -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)))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user