forked from Mirrors/openclonk
mac: Fake revision as the official 5.2.2 release one
parent
2c597ba56d
commit
cf18d82e36
|
@ -71,7 +71,15 @@ public:
|
|||
void SetNextMission(const char *szMissionFilename);
|
||||
virtual void OnCommand(const char *szCmd);
|
||||
|
||||
const char *GetRevision() const { return Revision.getData(); }
|
||||
const char *GetRevision() const
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
// some late mac-specific commits require this sad little piece of trickery
|
||||
return "14ab9fe1345a";
|
||||
#else
|
||||
return Revision.getData();
|
||||
#endif
|
||||
}
|
||||
|
||||
// set by ParseCommandLine
|
||||
int isEditor;
|
||||
|
|
Loading…
Reference in New Issue