ref: 1e1d25b88d190c82ddcb75e12d5b07beffcb9ef6
parent: f0bef91e4a100cf2a41dc528c780ca5abdebf3f4
author: CapnClever <[email protected]>
date: Sun Oct 9 15:21:54 EDT 2016
g_game.c: Fix rebinding of "Finish recording demo" Applies to both Heretic and Hexen code.
--- a/src/heretic/g_game.c
+++ b/src/heretic/g_game.c
@@ -1637,7 +1637,7 @@
void G_WriteDemoTiccmd(ticcmd_t * cmd)
{
- if (gamekeydown['q']) // press q to end demo recording
+ if (gamekeydown[key_demo_quit]) // press to end demo recording
G_CheckDemoStatus();
*demo_p++ = cmd->forwardmove;
*demo_p++ = cmd->sidemove;
--- a/src/hexen/g_game.c
+++ b/src/hexen/g_game.c
@@ -1789,7 +1789,7 @@
void G_WriteDemoTiccmd(ticcmd_t * cmd)
{
- if (gamekeydown['q']) // press q to end demo recording
+ if (gamekeydown[key_demo_quit]) // press to end demo recording
G_CheckDemoStatus();
*demo_p++ = cmd->forwardmove;
*demo_p++ = cmd->sidemove;