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;
|
||||
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user