Server: unreference player.h

This commit is contained in:
Marco Cawthorne 2022-04-25 13:35:26 -07:00
parent d39a8f1c0b
commit 440f67d349
Signed by: eukara
GPG key ID: C196CD8BA993248A
4 changed files with 5 additions and 23 deletions

View file

@ -17,4 +17,3 @@
#include "gamerules.h"
#include "items.h"
#include "flashlight.h"
#include "player.h"

View file

@ -1,18 +0,0 @@
/*
* Copyright (c) 2016-2020 Marco Cawthorne <marco@icculus.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
* IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
void Player_UseDown(void);
void Player_UseUp(void);

View file

@ -26,9 +26,9 @@ Game_Input(player pl)
}
if (input_buttons & INPUT_BUTTON5)
Player_UseDown();
pl.InputUse_Down();
else
Player_UseUp();
pl.InputUse_Up();
if (pl.impulse == 100)
Flashlight_Toggle();

View file

@ -43,8 +43,9 @@ seta "maxplayers" "8"
seta "con_color" "255 150 0"
seta "vgui_color" "255 170 0"
seta "cross_color" "0 255 0"
seta v_muzzledlight 0
// disable some nuclide niceties
seta v_muzzledlight 0
// config compat
alias mp_timelimit timelimit