summaryrefslogtreecommitdiff
path: root/opl
diff options
context:
space:
mode:
authorSimon Howard2015-01-19 21:50:28 -0500
committerSimon Howard2015-01-19 21:50:28 -0500
commit6d6375349747e1870f9c74bc950bfd25b6bb2b51 (patch)
tree488386d78dfddef6384bb25f5a0a047746faaf4b /opl
parent10eb5ee80c7854d4ec5cce996af0c250347c0231 (diff)
downloadchocolate-doom-6d6375349747e1870f9c74bc950bfd25b6bb2b51.tar.gz
chocolate-doom-6d6375349747e1870f9c74bc950bfd25b6bb2b51.tar.bz2
chocolate-doom-6d6375349747e1870f9c74bc950bfd25b6bb2b51.zip
Add extra checks to weapon cycling loops.
Ensure that the loops to find the next weapon always terminate - even if there are somehow no weapons equipped. Also, only ever do weapon cycling when in the GS_LEVEL gamestate. This fixes #503 - thanks to Fabian and raithe on Doomworld.
Diffstat (limited to 'opl')
0 files changed, 0 insertions, 0 deletions