1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Load the CHGROUND channel as an emty texture

It fixes the mapping for the floors when the screen is not 4:3.
This commit is contained in:
Mathieu Schroeter 2017-10-10 18:28:35 +02:00
parent dcbfd5cc35
commit da787a8586

View File

@ -736,11 +736,9 @@ DoInit (int argc, char * argv[], bool & exit)
return EXIT_FAILURE;
OutputDebug ("Image: init\n");
totalDim.x = LXLOGIC;
totalDim.y = LYLOGIC;
iconDim.x = 0;
iconDim.y = 0;
if (!g_pPixmap->Cache (CHGROUND, "image/init.png", totalDim, iconDim))
totalDim.x = LXIMAGE;
totalDim.y = LYIMAGE;
if (!g_pPixmap->Cache (CHGROUND, totalDim))
return EXIT_FAILURE;
rcRect.left = 0;