1
0
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:
Michał Janiszewski
2018-01-18 17:21:09 +01:00
committed by Michał Janiszewski
parent 48c3225cb7
commit 409a995e7f

View File

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