From f65b1c1d7a737c82483c778cd0185df531bf5224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1ty=C3=A1s=20Mustoha?= Date: Wed, 17 Apr 2024 13:20:09 +0200 Subject: [PATCH] Fixed world tile drawing acceleration --- src/common/ResourceManager.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/common/ResourceManager.cpp b/src/common/ResourceManager.cpp index 89c558ad..a8722d98 100644 --- a/src/common/ResourceManager.cpp +++ b/src/common/ResourceManager.cpp @@ -313,17 +313,17 @@ bool CResourceManager::LoadWorldGraphics() { std::string graphicspack = worldgraphicspacklist->currentPath(); - gfx_loadimage(spr_worldbackground[0], convertPath("gfx/packs/world/world_background.png", graphicspack), false, false); - gfx_loadimage(spr_worldbackground[1], convertPath("gfx/packs/world/preview/world_background.png", graphicspack), false, false); + gfx_loadimage(spr_worldbackground[0], convertPath("gfx/packs/world/world_background.png", graphicspack), false); + gfx_loadimage(spr_worldbackground[1], convertPath("gfx/packs/world/preview/world_background.png", graphicspack), false); - gfx_loadimage(spr_worldforeground[0], convertPath("gfx/packs/world/world_foreground.png", graphicspack), false, false); - gfx_loadimage(spr_worldforeground[1], convertPath("gfx/packs/world/preview/world_foreground.png", graphicspack), false, false); + gfx_loadimage(spr_worldforeground[0], convertPath("gfx/packs/world/world_foreground.png", graphicspack), false); + gfx_loadimage(spr_worldforeground[1], convertPath("gfx/packs/world/preview/world_foreground.png", graphicspack), false); - gfx_loadimage(spr_worldforegroundspecial[0], convertPath("gfx/packs/world/world_foreground_special.png", graphicspack), false, false); - gfx_loadimage(spr_worldforegroundspecial[1], convertPath("gfx/packs/world/preview/world_foreground_special.png", graphicspack), false, false); + gfx_loadimage(spr_worldforegroundspecial[0], convertPath("gfx/packs/world/world_foreground_special.png", graphicspack), false); + gfx_loadimage(spr_worldforegroundspecial[1], convertPath("gfx/packs/world/preview/world_foreground_special.png", graphicspack), false); - gfx_loadimage(spr_worldpaths[0], convertPath("gfx/packs/world/world_paths.png", graphicspack), false, false); - gfx_loadimage(spr_worldpaths[1], convertPath("gfx/packs/world/preview/world_paths.png", graphicspack), false, false); + gfx_loadimage(spr_worldpaths[0], convertPath("gfx/packs/world/world_paths.png", graphicspack), false); + gfx_loadimage(spr_worldpaths[1], convertPath("gfx/packs/world/preview/world_paths.png", graphicspack), false); gfx_loadimage(spr_worldvehicle[0], convertPath("gfx/packs/world/world_vehicles.png", graphicspack), false); gfx_loadimage(spr_worldvehicle[1], convertPath("gfx/packs/world/preview/world_vehicles.png", graphicspack), false);