mirror of https://github.com/OpenTTD/OpenTTD
(svn r1595) EmergencySave() is only used on WIN32, add preprocessor guard to hide it everywhere else
parent
189ca73707
commit
e75c48ec7a
|
@ -1134,11 +1134,13 @@ init_err:
|
||||||
return SL_OK;
|
return SL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
bool EmergencySave(void)
|
bool EmergencySave(void)
|
||||||
{
|
{
|
||||||
SaveOrLoad("crash.sav", SL_SAVE);
|
SaveOrLoad("crash.sav", SL_SAVE);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void DoExitSave(void)
|
void DoExitSave(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue