mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 03:42:41 +01:00
(svn r16835) [0.7] -Backport from trunk:
- Fix: Call the AI Save() function only once so AIs can not crash OpenTTD [FS#3034] (r16834) - Fix: Use the palette of the vehicle being drawn instead of the one of the front vehicle (r16819) - Update: language files
This commit is contained in:
@@ -509,6 +509,11 @@ void Squirrel::ResetCrashed()
|
||||
this->crashed = false;
|
||||
}
|
||||
|
||||
void Squirrel::CrashOccurred()
|
||||
{
|
||||
this->crashed = true;
|
||||
}
|
||||
|
||||
bool Squirrel::CanSuspend()
|
||||
{
|
||||
return sq_can_suspend(this->vm);
|
||||
|
||||
Reference in New Issue
Block a user