saves fx
| 1271 | |
| 1272 | // saves fx |
| 1273 | void SGSObjEffects(CFILE *fp, const object *op) { |
| 1274 | effect_info_s *ei = op->effect_info; |
| 1275 | |
| 1276 | gs_WriteByte(fp, (ei ? 1 : 0)); |
| 1277 | if (ei) { |
| 1278 | gs_WriteShort(fp, sizeof(effect_info_s)); |
| 1279 | cf_WriteBytes((uint8_t *)ei, sizeof(effect_info_s), fp); |
| 1280 | } |
| 1281 | } |
| 1282 | |
| 1283 | // saves wb |
| 1284 | void SGSObjWB(CFILE *fp, object *op, int num_wbs) { |
no test coverage detected