[quake] 04/04: quake4: Enable easier access to the console by default
Simon McVittie
smcv at debian.org
Mon Oct 26 00:17:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository quake.
commit 6771a19cc3416af1cb95bcc3d98a69b732c3493c
Author: Simon McVittie <smcv at debian.org>
Date: Mon Oct 26 00:16:48 2015 +0000
quake4: Enable easier access to the console by default
---
quake4.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/quake4.in b/quake4.in
index c8e2638..1a6bf61 100644
--- a/quake4.in
+++ b/quake4.in
@@ -61,15 +61,17 @@ for i in pak001 pak021 pak022 zpak_english; do
fi
done
+cvars="+set com_allowconsole 1"
+
# Quake 4 expects to run in its installation directory
cd "$pkglibdir"
# The SMP binary needs a modified bundled copy of SDL.
export LD_LIBRARY_PATH="${pkglibdir}${LD_LIBRARY_PATH:+":${LD_LIBRARY_PATH}"}"
if test -n "$QUAKE4_BACKTRACE"; then
- exec gdb -return-child-result -batch -ex run -ex 'thread apply all bt full' -ex kill -ex quit --args "${pkglibdir}/${binary}" "$@"
+ exec gdb -return-child-result -batch -ex run -ex 'thread apply all bt full' -ex kill -ex quit --args "${pkglibdir}/${binary}" ${cvars} "$@"
else
- exec ${QUAKE4_DEBUGGER} "${pkglibdir}/${binary}" "$@"
+ exec ${QUAKE4_DEBUGGER} "${pkglibdir}/${binary}" ${cvars} "$@"
fi
# vim:set sw=2 sts=2 et:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/quake.git
More information about the Pkg-games-commits
mailing list