Mercurial > hg > early-roguelike
comparison arogue7/arogue77.html @ 177:7bdac632ab9d
srogue: fix an uninitialized variable.
In wanderer(), if rp == hr, the loop could test ch before its value has
been set.  Initializing ch to '-' now causes the loop to repeat until
a location is found.
| author | John "Elwin" Edwards | 
|---|---|
| date | Tue, 04 Aug 2015 11:39:49 -0400 | 
| parents | adfa37e67084 | 
| children | 
   comparison
  equal
  deleted
  inserted
  replaced
| 176:db1c9a21a7c3 | 177:7bdac632ab9d | 
|---|
