wereHamster/Rotation — pull request #2 by iff (2011-11-02 16:56:21+00:00)
Title: Multiple spell usage in priolist

There is a problem when the same spell is used twice in the priority list due to the fact that every there is one icon per spell. If the spell would be at two places in the rotation queue, we will overwrite the location of the first one with the location of the second one, resulting in one 'blank' spell icon in the rotation queue.

This simple changeset fixes this issue by checking if a spell was already added by a previous item in the priority list. If this is the case we can safely ignore the second placing in the rotation queue.