diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-01-30 15:20:40 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-01-30 15:20:40 -0500 |
commit | f2738dc2e06f172a6db0822d4f94ccdcd6b52da8 (patch) | |
tree | cc317672794472243251d51154d4b9a8f680b15f /Four Puzzle Editor | |
parent | 000384f5921bad138b77870fb6381fea5ac4d38b (diff) | |
download | fourpuzzle-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')
0 files changed, 0 insertions, 0 deletions