ref: d0dc5023008c7ae2ce0e1f4e8c91d69d9776f441
parent: ff51b009ca2db0789b09e6984c9e93d6757c329c
parent: 1e1d25b88d190c82ddcb75e12d5b07beffcb9ef6
author: James Haley <[email protected]>
date: Sun Oct 9 15:11:36 EDT 2016
Merge pull request #780 from CapnClever/demorecord-rebind Heretic/Hexen: Rebinding of "Finish recording demo"
--- 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;