Fix function prototypes

This commit is contained in:
Denis Pauk 2021-01-26 21:20:39 +02:00
parent b92383eff9
commit 0d2d20fc6e
3 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@
#include "header/local.h"
qboolean FindTarget(edict_t *self);
void infantry_die(edict_t *self, edict_t *inflictor, edict_t *attacker, int damage);
void infantry_die(edict_t *self, edict_t *inflictor, edict_t *attacker, int damage, vec3_t point);
void infantry_stand(edict_t *self);
void monster_use(edict_t *self, edict_t *other, edict_t *activator);
void SpawnTargetingSystem(edict_t *turret);
@ -419,7 +419,7 @@ turret_driver_die(edict_t *self, edict_t *inflictor, edict_t *attacker,
self->target_ent->owner = NULL;
self->target_ent->teammaster->owner = NULL;
infantry_die(self, inflictor, attacker, damage);
infantry_die(self, inflictor, attacker, damage, point);
}
void

View File

@ -103,7 +103,7 @@ SP_info_player_coop_lava(edict_t *self)
* as well as yaw. 'pitch yaw roll'
*/
void
SP_info_player_intermission(void)
SP_info_player_intermission(edict_t *ent)
{
}

View File

@ -187,7 +187,7 @@ extern void ClientObituary ( edict_t * self , edict_t * inflictor , edict_t * at
extern qboolean IsNeutral ( edict_t * ent ) ;
extern qboolean IsFemale ( edict_t * ent ) ;
extern void player_pain ( edict_t * self , edict_t * other , float kick , int damage ) ;
extern void SP_info_player_intermission ( void ) ;
extern void SP_info_player_intermission ( edict_t *ent );
extern void SP_info_player_coop_lava ( edict_t * self ) ;
extern void SP_info_player_coop ( edict_t * self ) ;
extern void SP_info_player_deathmatch ( edict_t * self ) ;
@ -485,7 +485,7 @@ extern qboolean medic_checkattack ( edict_t * self ) ;
extern void medic_finish_spawn ( edict_t *self );
extern void medic_spawngrows ( edict_t *self );
extern void medic_determine_spawn ( edict_t *self ) ;
extern void medic_start_spawn ( edict_t *self ) ;
extern void medic_start_spawn ( edict_t *self ) ;
extern void medic_attack ( edict_t * self ) ;
extern void medic_hook_retract ( edict_t * self ) ;
extern void medic_cable_attack ( edict_t * self ) ;