mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 11:44:17 +01:00
Add: [Script] Function to get all rail types of an rail engine.
This commit is contained in:
@@ -270,7 +270,7 @@ void Squirrel::AddMethod(std::string_view method_name, SQFUNCTION proc, std::str
|
||||
sq_newslot(this->vm, -3, SQFalse);
|
||||
}
|
||||
|
||||
void Squirrel::AddConst(std::string_view var_name, int value)
|
||||
void Squirrel::AddConst(std::string_view var_name, SQInteger value)
|
||||
{
|
||||
ScriptAllocatorScope alloc_scope(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user