Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #824100

pf_fuel_map_iterate() erroneous check for impossible move

Added by Marko Lindqvist about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Move cost is stored as 'cost + 2' in pf_fuel_map_iterate(), thus impossible move is stored as 'PF_IMPOSSIBLE_MC + 2'. When checking the stored value the check is erroneously against 'PF_IMPOSSIBLE_MC - 2' instead.

History

#1 Updated by Marko Lindqvist about 2 years ago

For NEWS: I think the effect was that pf sometimes reported fuel move as legal when it was not.

#2 Updated by Marko Lindqvist about 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF