Discard const on returned type

This commit is contained in:
Michał Janiszewski authored and Michał Janiszewski committed 2018-01-18 19:06:27 +01:00
1 parent 48c3225cb7
commit 409a995e7f
1 file changed
+1 -1
+1 -1
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)
{