summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-01-28 16:47:47 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-01-28 16:47:47 -0500
commitf5884d91e90e858b2672ef416071941fea786923 (patch)
tree5c7d16c51587e58f589bb6fada53d7099a8e16f5 /lib
parent7171798052557dab8b3e6febfc027bf5b1b52941 (diff)
downloadfourpuzzle-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')
0 files changed, 0 insertions, 0 deletions