diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-16 22:08:11 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-16 22:08:11 +0200 |
commit | f47f6af382228431fa363198ebf9d6d9424c5b56 (patch) | |
tree | d78d9d472a9166c871bdaae7b672c9d0ffe7aa1a /sys/src/libc | |
parent | 0d76dafaa023ec68abae9e92961e6619397c76e6 (diff) |
games/doom: fix idclev cheat in doom2 and final doom (thanks qu7uux)
a typo in st_stuff.c:ST_Responder prevents idclev (change level) cheat to work
in doom2 and final doom (gamemode == commercial): episode is set to 0, when
that's invalid, and ST_Responder just returns.
to test, while ingame type idclev, followed by:
. doom1: episode (1-3 or 1-4) then map number (1-9)
. doom2/final doom: map number (1-32)
incidentally, if the last digit typed is 1, the player's weapon will switch to
the fist, because of a different bug (basically kbdproc registering two events
when pressing a key, for 'c' and 'k' case).
Diffstat (limited to 'sys/src/libc')
0 files changed, 0 insertions, 0 deletions