mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Discard const on returned type
This commit is contained in:
committed by
Michał Janiszewski
parent
48c3225cb7
commit
409a995e7f
@@ -4365,7 +4365,7 @@ void game_command_modify_tile(sint32* eax, sint32* ebx, sint32* ecx, sint32* edx
|
||||
const sint32 flags = *ebx;
|
||||
const sint32 x = *ecx & 0xFF;
|
||||
const sint32 y = (*ecx >> 8) & 0xFF;
|
||||
const tile_inspector_instruction instruction = (const tile_inspector_instruction)*eax;
|
||||
const tile_inspector_instruction instruction = static_cast<tile_inspector_instruction>(*eax);
|
||||
|
||||
switch (instruction)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user