mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- fixed issue with restoring SO sprite array.
This array has -1 for empty entries so it cannot be saved partially.
This commit is contained in:
parent
c3e5cf322e
commit
a4f5a32680
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, SECTOR_OBJECTstruc
|
|||
.Array("sector", w.sector, def->sector, w.num_sectors) // is this really different from sectp?
|
||||
.Array("zorig_floor", w.zorig_floor, def->zorig_floor, w.num_sectors)
|
||||
.Array("zorig_ceiling", w.zorig_ceiling, def->zorig_ceiling, w.num_sectors)
|
||||
.Array("sp_num", w.sp_num, def->sp_num, sp_cnt + 1)
|
||||
.Array("sp_num", w.sp_num, def->sp_num, countof(w.sp_num))
|
||||
.Array("xorig", w.xorig, def->xorig, w.num_walls)
|
||||
.Array("yorig", w.yorig, def->yorig, w.num_walls)
|
||||
("controller", w.controller, def->controller)
|
||||
|
|
Loading…
Reference in a new issue