mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Restore original savename variables for DUDEEXTRA struct
This commit is contained in:
parent
8dbd0f10d3
commit
8998d92688
1 changed files with 5 additions and 3 deletions
|
@ -437,11 +437,13 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, DUDEEXTRA& w, DUDE
|
||||||
|
|
||||||
if (arc.BeginObject(keyname))
|
if (arc.BeginObject(keyname))
|
||||||
{
|
{
|
||||||
|
// Note: birthCounter/thinkTime are a union and share the same value (this is used for savefile backwards compatibility)
|
||||||
arc("time", w.time, &empty)
|
arc("time", w.time, &empty)
|
||||||
("teslaHit", w.teslaHit, &empty2)
|
("recoil", w.teslaHit, &empty2)
|
||||||
("prio", w.prio, &empty)
|
("prio", w.prio, &empty)
|
||||||
("thinkTime", w.stats.thinkTime, &empty)
|
("x1", w.stats.birthCounter, &empty)
|
||||||
("active", w.stats.active, &empty2)
|
("x2", w.stats.thinkTime, &empty)
|
||||||
|
("x3", w.stats.active, &empty2)
|
||||||
.EndObject();
|
.EndObject();
|
||||||
}
|
}
|
||||||
return arc;
|
return arc;
|
||||||
|
|
Loading…
Reference in a new issue