04-24-2020, 02:17 AM
For example, I must call GetLayerTile() deducting window height from ypos to make it detect tiles.
I don't clearly understand why it happens.
Code:
TLN_GetLayerTile(LAYER_FOREGROUND,x,y-HEIGHT+19,&tileinfo);