just crashes the game when JKSN is placed, says that variable 'r' needs to be initialised, and adding r = pmap[y+ny][x+nx]; above if(r&0xFF)... gives me error:
Unhandled exception at 0x003c4787 in thepowdertoy.exe: 0xC0000005: Access violation writing location 0x0dee0c50.