ID:1466955
 
BYOND Version:501
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 31.0.1650.63
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
The document states that an atom's mouse_over_pointer can be set to a state and it will use that object's icon to create the pointer.
However when setting it to a blank string, it does not seem to use the unnamed state of the icon. It works fine for the named states, and it works if the icon proc is used to create the icon first or if you set the mouse_pointer to that icon.

Obviously not a major inconvenience for my purposes but it has been bugging me as it used to work (Last time I remember it working may have been in BYOND 355).
Numbered Steps to Reproduce Problem:
1. Log into game, hold mouse over player mob.
Code Snippet (if applicable) to Reproduce Problem:
//Does not work --  Assumes you've already set an icon for src
src.mouse_over_pointer = ""
//Does work
src.mouse_over_pointer = icon(src.icon, "")
//or
src.mouse_over_pointer = src.icon


Expected Results:
Setting the mouse_over_pointer to a blank string would take src.icon and use its unnamed icon state
Actual Results:
Does not set any mouse_over_pointer, causes it to show up as a cross.
Does the problem occur:
Every time? Or how often? Every time.
In other games? Presumably
In other user accounts? Yes
On other computers? Yes

When does the problem NOT occur?
When you set the mouse_over_pointer to an actual icon.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
The last version I recall it working in was 355, at some point after that it stopped working.
Workarounds:
Set the mouse_over_pointer to an icon instead of the state.