mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
Make functions non static (for new savegame code)
This commit is contained in:
parent
45194cad7e
commit
7f5431c51a
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue