| 621 | } |
| 622 | |
| 623 | void DCorePlayer::Serialize(FSerializer& arc) |
| 624 | { |
| 625 | Super::Serialize(arc); |
| 626 | arc("pnum", pnum) |
| 627 | ("actor", actor) |
| 628 | ("actions", cmd.ucmd.actions) |
| 629 | ("viewangles", ViewAngles) |
| 630 | ("yawspin", YawSpin) |
| 631 | //("cmd", cmd) |
| 632 | //("lastcmd", lastcmd) |
| 633 | ; |
| 634 | |
| 635 | if (arc.isReading()) |
| 636 | { |
| 637 | cmd.ucmd.actions &= SB_CENTERVIEW|SB_CROUCH; // these are the only bits we need to preserve. |
| 638 | } |
| 639 | } |
| 640 | |
| 641 | void DCoreActor::Serialize(FSerializer& arc) |
| 642 | { |
no test coverage detected