1
0
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:
rubidium
2009-07-15 20:29:45 +00:00
parent 5cde77086d
commit 969d538026
22 changed files with 986 additions and 462 deletions

View File

@@ -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);