Mercurial > hg > early-roguelike
view rogue5/rogue.desktop @ 276:4573b355cdc1
UltraRogue: prevent bad array accesses in call().
Marking non-magic items caused segfaults because item_color was set to
NULL. item_type could also be used as an out-of-bounds index. These
problems have been fixed by only using these variables when the mark
argument is false, in which case they are properly initialized.
A fall-through case statement was also fixed.
author | John "Elwin" Edwards |
---|---|
date | Sun, 10 Sep 2017 21:04:22 -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