Problem description:
In certain conditions when I change the client.eye location I am met with a black screen that resembles when a mob walks of the map.
Code:
SkillTree()
if(Skill_Tree)
for(var/I in client.images) if(I)
del I
client.eye = usr
Skill_Tree = 0
return
src << "Your view has changed, but you are still in the same spot."
Skill_Tree = 1
client.eye = locate(25,25,1)
Refresh_Skilltree()
This code works fine if i'm stood nearish the center of the map, if I stand near the edge map it causes the black screen, but areas and obj within view that have Click() do not proc.
Almost like its off center somehow....
Some important stuff to note;
Client view is 20x15
map_format = SIDE_MAP //This doesn't seem right
ICONWIDTH X ICONHEIGHT = 32x32
Thanks in advance!