Mercurial > hg > early-roguelike
view rogue5/rogue.desktop @ 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 | f502bf60e6e4 |
children |
line wrap: on
line source
[Desktop Entry] Encoding=UTF-8 Name=Rogue GenericName=Rogue Comment=The original curses-based adventure game Exec=rogue Icon=rogue.png Terminal=true Type=Application Categories=Game;RolePlaying; Version=1.0