removed some debug keys

This commit is contained in:
Magnus Auvinen 2007-08-04 22:02:38 +00:00
parent 9b7900fa10
commit 43ceec0f9c

View file

@ -875,16 +875,19 @@ static void client_run(const char *direct_connect_server)
gfx_screenshot();
// panic button
if(input::pressed(input::lctrl) && input::pressed('Q'))
break;
if(input::pressed(input::f5))
if(config.debug)
{
// ack snapshot
msg_pack_start_system(NETMSG_SNAPACK, 0);
msg_pack_int(-1);
msg_pack_end();
client_send_msg();
if(input::pressed(input::lctrl) && input::pressed('Q'))
break;
if(input::pressed(input::f5))
{
// ack snapshot
msg_pack_start_system(NETMSG_SNAPACK, 0);
msg_pack_int(-1);
msg_pack_end();
client_send_msg();
}
}
// pump the network