oh, that was easy, found it already
in the function:
void load_bmap_load(STRING* levelname)
look for these 2 variables:
var level_width = bmap_width(level)-1;
var level_height = bmap_height(level)-1;
remove both the -1 from it, so it becomes:
var level_width = bmap_width(level);
var level_height = bmap_height(level);
And it works again then
Sorry about that!
regards, D.