* Set the NewGRF file, and its grfid, associated with grf props. * @param grffile GRFFile to set. */
| 733 | * @param grffile GRFFile to set. |
| 734 | */ |
| 735 | void GRFFilePropsBase::SetGRFFile(const struct GRFFile *grffile) |
| 736 | { |
| 737 | this->grffile = grffile; |
| 738 | this->grfid = grffile == nullptr ? 0 : grffile->grfid; |
| 739 | } |
no outgoing calls
no test coverage detected