diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-25 11:56:11 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-25 11:56:11 +0000 |
| commit | 5050c0ca4f266c2bbfd5651f61256c6606253000 (patch) | |
| tree | 16553678c4369b62d9496d188483e07c49ded29d /src/game | |
| parent | cd6d5e6237acf659d75fa64568506c152ce41ec9 (diff) | |
| download | zcatch-5050c0ca4f266c2bbfd5651f61256c6606253000.tar.gz zcatch-5050c0ca4f266c2bbfd5651f61256c6606253000.zip | |
compile fixes
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/client/gc_client.cpp | 3 | ||||
| -rw-r--r-- | src/game/client/gc_menu.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp index 275370e6..817638b0 100644 --- a/src/game/client/gc_client.cpp +++ b/src/game/client/gc_client.cpp @@ -3066,6 +3066,9 @@ extern "C" int modc_snap_input(int *data) { input_data.target_x = (int)mouse_pos.x; input_data.target_y = (int)mouse_pos.y; + + if(!input_data.target_x && !input_data.target_y) + input_data.target_y = 1; } input_target_lock = 0; diff --git a/src/game/client/gc_menu.cpp b/src/game/client/gc_menu.cpp index 232679e9..377f8f2b 100644 --- a/src/game/client/gc_menu.cpp +++ b/src/game/client/gc_menu.cpp @@ -1848,8 +1848,6 @@ void menu_do_connected() void menu_init() { - int i; - if(config.cl_show_welcome) popup = POPUP_FIRST_LAUNCH; config.cl_show_welcome = 0; |