Make functions non static (for new savegame code)

This commit is contained in:
Yamagi Burmeister 2011-09-28 20:13:41 +00:00
parent 45194cad7e
commit 7f5431c51a
2 changed files with 4 additions and 4 deletions

View file

@ -202,7 +202,7 @@ SpawnDamage(int type, vec3_t origin, vec3_t normal)
* DAMAGE_NO_PROTECTION kills godmode, armor, everything * DAMAGE_NO_PROTECTION kills godmode, armor, everything
*/ */
static int int
CheckPowerArmor(edict_t *ent, vec3_t point, vec3_t normal, int damage, CheckPowerArmor(edict_t *ent, vec3_t point, vec3_t normal, int damage,
int dflags) int dflags)
{ {
@ -322,7 +322,7 @@ CheckPowerArmor(edict_t *ent, vec3_t point, vec3_t normal, int damage,
return save; return save;
} }
static int int
CheckArmor(edict_t *ent, vec3_t point, vec3_t normal, int damage, CheckArmor(edict_t *ent, vec3_t point, vec3_t normal, int damage,
int te_sparks, int dflags) int te_sparks, int dflags)
{ {

View file

@ -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) drop_temp_touch(edict_t *ent, edict_t *other, cplane_t *plane, csurface_t *surf)
{ {
if (!ent || !other) 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); Touch_Item(ent, other, plane, surf);
} }
static void void
drop_make_touchable(edict_t *ent) drop_make_touchable(edict_t *ent)
{ {
if (!ent) if (!ent)