mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 03:40:50 +00:00
- SW: fixed bad serialization of sector object pointers
This commit is contained in:
parent
a4f5a32680
commit
729928c576
1 changed files with 1 additions and 1 deletions
|
@ -631,7 +631,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, SECTOR_OBJECTp& w,
|
|||
{
|
||||
int ndx = w ? int(w - SectorObject) : -1;
|
||||
arc(keyname, ndx);
|
||||
w = ndx == -1 ? nullptr : SectorObject;
|
||||
if (arc.isReading() )w = ndx == -1 ? nullptr : SectorObject + ndx;
|
||||
return arc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue