mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-05 02:36:20 +01:00
(svn r1595) EmergencySave() is only used on WIN32, add preprocessor guard to hide it everywhere else
This commit is contained in:
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
Block a user