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:
parent
dcbfd5cc35
commit
da787a8586
@ -736,11 +736,9 @@ DoInit (int argc, char * argv[], bool & exit)
|
|||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
OutputDebug ("Image: init\n");
|
OutputDebug ("Image: init\n");
|
||||||
totalDim.x = LXLOGIC;
|
totalDim.x = LXIMAGE;
|
||||||
totalDim.y = LYLOGIC;
|
totalDim.y = LYIMAGE;
|
||||||
iconDim.x = 0;
|
if (!g_pPixmap->Cache (CHGROUND, totalDim))
|
||||||
iconDim.y = 0;
|
|
||||||
if (!g_pPixmap->Cache (CHGROUND, "image/init.png", totalDim, iconDim))
|
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
rcRect.left = 0;
|
rcRect.left = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user