summaryrefslogtreecommitdiff
path: root/src/w_file_posix.c
diff options
context:
space:
mode:
authorSimon Howard2015-01-19 21:50:28 -0500
committerSimon Howard2015-01-19 21:50:28 -0500
commit6d6375349747e1870f9c74bc950bfd25b6bb2b51 (patch)
tree488386d78dfddef6384bb25f5a0a047746faaf4b /src/w_file_posix.c
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 'src/w_file_posix.c')
0 files changed, 0 insertions, 0 deletions