fix explicitly changing tiles
This commit is contained in:
+1
-1
@@ -1096,7 +1096,7 @@ static void process_event_editor(SDL_Event event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
renderer_texture_update(current_map.texture, 0, 0, current_map.size.x, current_map.size.y, current_map.tiles, current_map.size.x * sizeof(Uint32));
|
renderer_texture_update(current_map.texture, 0, 0, current_map.size.x, current_map.size.y, current_map.tiles, current_map.size.x * sizeof(Uint16));
|
||||||
}
|
}
|
||||||
|
|
||||||
dragging_tile_change = false;
|
dragging_tile_change = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user