| 646 | } |
| 647 | |
| 648 | void DemoWritePlayerDeath(object *player, bool melee, int fate) { |
| 649 | cf_WriteByte(Demo_cfp, DT_PLAYER_DEATH); |
| 650 | cf_WriteShort(Demo_cfp, OBJNUM(player)); |
| 651 | cf_WriteByte(Demo_cfp, melee ? 1 : 0); |
| 652 | cf_WriteInt(Demo_cfp, fate); |
| 653 | } |
| 654 | |
| 655 | void DemoReadPlayerDeath(void) { |
| 656 | int16_t playernum = cf_ReadShort(Demo_cfp); |
no test coverage detected