diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-01-28 16:47:47 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-01-28 16:47:47 -0500 |
commit | f5884d91e90e858b2672ef416071941fea786923 (patch) | |
tree | 5c7d16c51587e58f589bb6fada53d7099a8e16f5 /lib/CopyLibs | |
parent | 7171798052557dab8b3e6febfc027bf5b1b52941 (diff) | |
download | fourpuzzle-f5884d91e90e858b2672ef416071941fea786923.tar.gz fourpuzzle-f5884d91e90e858b2672ef416071941fea786923.tar.bz2 fourpuzzle-f5884d91e90e858b2672ef416071941fea786923.zip |
Fixed HeroEvent rendering condition bug
Replaced said condition with an instanceof check to see if toDraw.getGraphic() is an instance of BlankEventGraphic. The previous way did not, in fact, work because an EventGraphic never be equal to a String. This previous way only existed because HeroEvent's graphic used to be stored as a filename/offset combo instead of as an EventGraphic.
Diffstat (limited to 'lib/CopyLibs')
0 files changed, 0 insertions, 0 deletions