X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fsv_monsters.qh;fp=qcsrc%2Fcommon%2Fmonsters%2Fsv_monsters.qh;h=ffade7b6a2accc4ccbfeb0fac9c82a1ebb5e7a0e;hb=678388b78fdaad89fc8218dadf7007432b4153c3;hp=f8501fc758e1b8184f67e9ff222beab022d647ac;hpb=8f04c35701fab23cf21732a4f69c02a78507dd62;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/sv_monsters.qh b/qcsrc/common/monsters/sv_monsters.qh index f8501fc75..ffade7b6a 100644 --- a/qcsrc/common/monsters/sv_monsters.qh +++ b/qcsrc/common/monsters/sv_monsters.qh @@ -77,7 +77,7 @@ bool Monster_Spawn(entity this, int mon_id); void monster_setupcolors(entity this); -void Monster_Touch(entity this); +void Monster_Touch(entity this, entity toucher); void Monster_Move_2D(entity this, float mspeed, float allow_jumpoff); @@ -85,7 +85,7 @@ void Monster_Delay(entity this, int repeat_count, float defer_amnt, void(entity) float Monster_Attack_Melee(entity this, entity targ, float damg, vector anim, float er, float animtime, int deathtype, float dostop); -bool Monster_Attack_Leap(entity this, vector anm, void(entity this) touchfunc, vector vel, float animtime); +bool Monster_Attack_Leap(entity this, vector anm, void(entity this, entity toucher) touchfunc, vector vel, float animtime); entity Monster_FindTarget(entity this);