Hi!

I have a problem with "bmap_blit"...

Code:
#include <acknex.h>

BMAP* GE_IM_Bg_White = "Bg_White.PNG";
PANEL* GE_BG_Pan = { Bmap = GE_IM_Bg_White; flags = VISIBLE; layer = 0; }

PANEL* Test_Pan =
{
layer = 10;
pos_x = 100;
pos_y = 100;
flags = VISIBLE;
}

BMAP* Test_Map;

function main()
{

// 400x69
Test_Pan.bmap = bmap_create("Credits_C_0.png");

while(!key_space) wait(1);

// 400x39
Test_Map = bmap_create("Credits_C_1.png");

bmap_blit(Test_Pan.bmap,Test_Map,vector(113,50,0),nullvector);

}



I create two bmaps. Then I "bmap_blit" the second bmap onto the first bmap.

The red colored value is the offset in x-direction.

If this offset is below 113 it the function works.

But if it is 113 or above the first bmap remains unchanged.....?

Any solutions?
or is it a bug?