Garthor wrote:
cursor = new /obj
var/image/I = new(cursor)
src << I |
Pardon me if I missed something since I didn't read the whole thread, but you shouldn't need to use a dummy obj for this. /images can be moved around/reattached freely (without needing to be recreated), so all you need to represent the cursor here is the /image itself.client
var/image/cursor
proc/SetCursor(atom/target)
if(cursor) cursor.loc = target
else cursor = new('cursor.dmi',target) |
|
|