forked from mirror/OpenTTD
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
This commit is contained in:
@@ -1383,6 +1383,10 @@ extern void SortNetworkLanguages();
|
||||
static inline void SortNetworkLanguages() {}
|
||||
#endif /* ENABLE_NETWORK */
|
||||
|
||||
/**
|
||||
* Check whether the header is a valid header for OpenTTD.
|
||||
* @return true iff the header is deemed valid.
|
||||
*/
|
||||
bool LanguagePackHeader::IsValid() const
|
||||
{
|
||||
return this->ident == TO_LE32(LanguagePackHeader::IDENT) &&
|
||||
|
Reference in New Issue
Block a user