summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-05-04 22:26:17 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-05-04 22:26:17 +0100
commit10ccb3fe63af983670966a52a267571d041aee1c (patch)
tree9b78eb47d91b0babfb148b51d1c14fe01b06d6da
parent76ea6196c62d93c7a6c568600d9e4464cf3c5ca9 (diff)
Fix a woopsy and slightly tweak autorecord UX
-rw-r--r--src/demorec.c8
-rw-r--r--src/fov.c2
2 files changed, 8 insertions, 2 deletions
diff --git a/src/demorec.c b/src/demorec.c
index 7875e30..2108436 100644
--- a/src/demorec.c
+++ b/src/demorec.c
@@ -120,7 +120,13 @@ static void hook_record_cb(const struct con_cmdargs *args) {
}
}
orig_record_cb(args);
- if (!was && *recording) *demonum = 0; // see SetSignonState comment above
+ if (!was && *recording) {
+ *demonum = 0; // see SetSignonState comment above
+ // For UX, make it more obvious we're recording, in particular when not
+ // already in a map as the "recording to x.dem" won't come up yet.
+ // mike: I think this is questionably necessary but I'm outvoted :)
+ con_msg("Demo recording started\n");
+ }
}
static void hook_stop_cb(const struct con_cmdargs *args) {
diff --git a/src/fov.c b/src/fov.c
index f60f067..46b90d2 100644
--- a/src/fov.c
+++ b/src/fov.c
@@ -62,7 +62,7 @@ static bool find_SetDefaultFOV(struct con_cmd *fov) {
}
p += len;
}
- return true;
+ return false;
}
// replacement cvar needs to actively set player fov if in a map