Age | Commit message (Collapse) | Author |
|
it mostly solves the sort() issues
|
|
|
|
included file
|
|
|
|
fix stack overflow
|
|
|
|
|
|
the squirrel compiler to crash
|
|
difference was more than "MAX_UINT"/2
|
|
the AI debug window, use the relative path from /ai/ instead
|
|
|
|
-Revert (r17273): this fix is included in Squirrel 2.2.4
|
|
not be cleaned up properly during crash handling. Occasionally this causes asserts to be triggered or crashes.
|
|
warning about them
|
|
|
|
assert is enabled assert (catch possible overflow bugs in nightlies/RCs), otherwise just increase the stack's size (don't get into invalid reads/writes in releases)
|
|
tail recursion
|
|
|
|
|
|
with not enough parameters can cause a crash
|
|
incorrectly but crash the AI instead
|
|
/ Sleep instead of just printing an error message in the AI Debug Window
|
|
|
|
was halted while one or more generators were still in a 'running' state
|
|
the pointer to it is NULL
|
|
those via a call/acall/pcall function
|
|
called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
|
|
and reintroduced in r16241 again, this time without breaking the regression test.
|
|
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
|
const is (accidentally?) removed using C-style casts.
|
|
amount of traps
|
|
try/catch blocks to be 'forgotten' during a suspend.
|
|
(2^32 - small_value) times instead of only small_value times.
|
|
|