diff --git a/src/game/baseq2/g_combat.c b/src/game/baseq2/g_combat.c index 3b8567bd..495e1850 100644 --- a/src/game/baseq2/g_combat.c +++ b/src/game/baseq2/g_combat.c @@ -202,7 +202,7 @@ SpawnDamage(int type, vec3_t origin, vec3_t normal) * DAMAGE_NO_PROTECTION kills godmode, armor, everything */ -static int +int CheckPowerArmor(edict_t *ent, vec3_t point, vec3_t normal, int damage, int dflags) { @@ -322,7 +322,7 @@ CheckPowerArmor(edict_t *ent, vec3_t point, vec3_t normal, int damage, return save; } -static int +int CheckArmor(edict_t *ent, vec3_t point, vec3_t normal, int damage, int te_sparks, int dflags) { diff --git a/src/game/baseq2/g_items.c b/src/game/baseq2/g_items.c index 8dd2bc88..c7d463a0 100644 --- a/src/game/baseq2/g_items.c +++ b/src/game/baseq2/g_items.c @@ -1244,7 +1244,7 @@ Touch_Item(edict_t *ent, edict_t *other, cplane_t *plane /* unused */, csurface_ /* ====================================================================== */ -static void +void drop_temp_touch(edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf) { if (!ent || !other) @@ -1264,7 +1264,7 @@ drop_temp_touch(edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf) Touch_Item(ent, other, plane, surf); } -static void +void drop_make_touchable(edict_t *ent) { if (!ent)