BYOND Version:479
Operating System:Windows 7 Pro
Web Browser:Firefox 3.6.13
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
You cannot pass flick() an icon object to use. While this isn't contradictory to the reference entry, it is unexpected. Also note that it does work with image objects.

Code Snippet (if applicable) to Reproduce Problem:
icon = 'icon1.dmi'
set src in world
var/icon/I = icon('icon2.dmi')
flick(I,src) // no effect
set src in world
var/image/X = image('icon2.dmi')
flick(X,src) // flicks as expected

Expected Results:
An icon object can be used to flick() an icon

Actual Results:
Using flick() with an icon object has no effect

Does the problem occur:
Every time? Or how often? Every time
In other games? Presumably
In other user accounts? On administrator
On other computers? Unknown

When does the problem NOT occur?
When passing an icon reference with single quotes [such as flick('icon1.dmi',src)], when passing an icon_state in the target's icon, or when passing an image object.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?

Use an image object instead
Since this is merely unexpected and not broken as such, it belongs in feature requests.
+ (I was having trouble with the same thing not long ago)