| 441 | } |
| 442 | |
| 443 | void RadioButton::LoadState(FileStreamIn& in, bool shouldSetValue) |
| 444 | { |
| 445 | int rev; |
| 446 | in >> rev; |
| 447 | LoadStateValidate(rev <= kSaveStateRev); |
| 448 | |
| 449 | float var; |
| 450 | in >> var; |
| 451 | if (shouldSetValue) |
| 452 | SetValueDirect(var, gTime); |
| 453 | } |
| 454 | |
| 455 | bool RadioButton::CanBeTargetedBy(PatchCableSource* source) const |
| 456 | { |
nothing calls this directly
no test coverage detected