mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 12:19:19 +02:00
reformat: set variables to constexpr where possible
This commit is contained in:
@@ -288,7 +288,7 @@ int lua::scriptapi_dynobj_putvalues(lua_State *L)
|
||||
auto [str, num1, num2] = get_memcell_values(L, 2);
|
||||
if (!dyn)
|
||||
return 0;
|
||||
const TLocation loc{};
|
||||
constexpr TLocation loc{};
|
||||
if (dyn->Mechanik)
|
||||
dyn->Mechanik->PutCommand(str, num1, num2, loc);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user