diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-05-31 09:44:20 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-05-31 09:44:20 +0000 |
| commit | 4bb1df318905f491740f4298c69cda317fb53fcb (patch) | |
| tree | 486c4edf2d6af2089ffab60a7422d5e7abefa891 /src/game/client/components/console.cpp | |
| parent | b28ede2da2c42643c5aa710a8076f0249d48c9e4 (diff) | |
| download | zcatch-4bb1df318905f491740f4298c69cda317fb53fcb.tar.gz zcatch-4bb1df318905f491740f4298c69cda317fb53fcb.zip | |
moved 0.5 branch to trunk
Diffstat (limited to 'src/game/client/components/console.cpp')
| -rw-r--r-- | src/game/client/components/console.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index c1493fb8..53d5637e 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -276,8 +276,11 @@ void CONSOLE::on_render() progress = 1.0f; } - - if (console_state == CONSOLE_CLOSED || config.cl_editor) + + if (console_state == CONSOLE_OPEN && config.cl_editor) + toggle(0); + + if (console_state == CONSOLE_CLOSED) return; if (console_state == CONSOLE_OPEN) |