mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00:00
(svn r1595) EmergencySave() is only used on WIN32, add preprocessor guard to hide it everywhere else
This commit is contained in:
parent
94d5aeabb2
commit
c1edc5b9c8
@ -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