Ignore:
Timestamp:
09/07/13 13:19:33 (8 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Message:

Zero is allowed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/enemies.py

    r446 r453  
    126126        """Simple greedy path finder"""
    127127        def _calc_step(tp, pp):
     128            step = 0
    128129            if (tp < pp):
    129130                step = max(-1, tp - pp)
Note: See TracChangeset for help on using the changeset viewer.