From: terencehill Date: Wed, 28 Feb 2018 18:45:07 +0000 (+0100) Subject: Remove an unused function X-Git-Tag: xonotic-v0.8.5~2271 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b80cc9d82f667d4a569520b63e05696980c02215;p=xonotic%2Fxonotic-data.pk3dir.git Remove an unused function --- diff --git a/qcsrc/menu/anim/animation.qc b/qcsrc/menu/anim/animation.qc index 72bcc5e94..c651a4ffc 100644 --- a/qcsrc/menu/anim/animation.qc +++ b/qcsrc/menu/anim/animation.qc @@ -33,12 +33,6 @@ this.delta = e - s; } - METHOD(Animation, setValueStartDelta, void(entity this, float s, float d)) - { - this.startValue = s; - this.delta = d; - } - METHOD(Animation, setObjectSetter, void(entity this, entity o, void(entity, float) s)) { this.object = o; diff --git a/qcsrc/menu/anim/animation.qh b/qcsrc/menu/anim/animation.qh index 009feb577..1fdea3dd6 100644 --- a/qcsrc/menu/anim/animation.qh +++ b/qcsrc/menu/anim/animation.qh @@ -6,7 +6,6 @@ CLASS(Animation, Object) METHOD(Animation, setTimeStartEnd, void(Animation this, float, float)); METHOD(Animation, setTimeStartDuration, void(Animation this, float, float)); METHOD(Animation, setValueStartEnd, void(Animation this, float, float)); - METHOD(Animation, setValueStartDelta, void(Animation this, float, float)); METHOD(Animation, setObjectSetter, void(Animation this, entity, void(entity, float))); METHOD(Animation, tick, void(Animation this, float)); METHOD(Animation, calcValue, float(Animation this, float, float, float, float));