summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/fastfwd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fastfwd.c b/src/fastfwd.c
index fb16e13..92d7623 100644
--- a/src/fastfwd.c
+++ b/src/fastfwd.c
@@ -185,6 +185,13 @@ next: NEXT_INSN(p, name);
return 0;
}
+PREINIT {
+ // currently only used for l4d quick reset stuff, and conflicts with SPT's
+ // tas_pause hook. so, disable for non-L4D games for now, to be polite.
+ // TODO(compat): come up with a real solution for this if/when required
+ return GAMETYPE_MATCHES(L4Dbased);
+}
+
INIT {
void *hldsapi = factory_engine("VENGINE_HLDS_API_VERSION002", 0);
if (!hldsapi) {