summary refs log tree commit diff stats
path: root/Four Puzzle Editor/nbproject
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-01-30 15:20:40 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-01-30 15:20:40 -0500
commitf2738dc2e06f172a6db0822d4f94ccdcd6b52da8 (patch)
treecc317672794472243251d51154d4b9a8f680b15f /Four Puzzle Editor/nbproject
parent000384f5921bad138b77870fb6381fea5ac4d38b (diff)
downloadfourpuzzle-f2738dc2e06f172a6db0822d4f94ccdcd6b52da8.tar.gz
fourpuzzle-f2738dc2e06f172a6db0822d4f94ccdcd6b52da8.tar.bz2
fourpuzzle-f2738dc2e06f172a6db0822d4f94ccdcd6b52da8.zip
Fixed AutomaticViewpoint cache issue
Previously, heroLoc wasn't a defensive copy of HeroEvent.getLocation(), it was HeroEvent.getLocation(). As of such, the condition that they were inequal always failed. However, a typo in the condition (leaving out the exclamation point) led us to believe it was working fine when in fact, AutomaticViewpoint was recalculating the viewpoint every tick instead of everytime the hero moves. Now it only refreshes when the hero moves or is moving.

Also cleared up an ambiguous comment in SpecialEvent's PanViewpoint's JavaDoc.
Diffstat (limited to 'Four Puzzle Editor/nbproject')
0 files changed, 0 insertions, 0 deletions