7.07, where are you calling the function. I'm calling it from my_terrains action.??? Not sure what it could be, all the resources exist and are labeled correctly..I changed the BMAP* pointer to my map, other than that no changes..and since the pointer is pointing to a file "foliage.tga" there should be no issue there, all other lookups are looking to the pointer so....?