Changeset 8 for trunk/class/maze.pas


Ignore:
Timestamp:
Nov 22, 2012, 8:05:35 AM (10 years ago)
Author:
chronos
Message:
  • Fixed: Do not clear cell status for start and exit position.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/class/maze.pas

    r7 r8  
    226226  for row := 0 to Height - 1 do
    227227    for col := 0 to Width - 1 do
    228       FMaze[row, col].State := csEmpty;
     228      if FMaze[row, col].State =  csVisited then FMaze[row, col].State := csEmpty;
    229229end;
    230230
Note: See TracChangeset for help on using the changeset viewer.