View Single Post
Old January 3, 2012, 16:51   #1
PowerWyrm's Avatar
Join Date: Apr 2008
Posts: 2,417
PowerWyrm is on a distinguished road
Minor glitch with item selection

When you use a tileset with tile height greater than 1 (32x32 tileset for example), the portion containing item selection choices is not "rectangular".

The problem comes from this code in Term_erase():

        /* Fast access */
        scr_aa = Term->scr->a[y];
        scr_cc = Term->scr->c[y];

        scr_taa = Term->scr->ta[y];
        scr_tcc = Term->scr->tc[y];

        if ((n > 0) && (scr_aa[x] == 255))
Removing the "if" block fixes the problem (and I don't really see the purpose of that "if" block -- but I could be wrong).
PWMAngband variant maintainer - check (or to learn more about this new variant!
PowerWyrm is offline   Reply With Quote