From: Mario Date: Thu, 24 Mar 2016 19:51:54 +0000 (+1000) Subject: Make hagar animation loop X-Git-Tag: xonotic-v0.8.2~968^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fc0f6c588aa716a6314a18813c760c2861cce3af;p=xonotic%2Fxonotic-data.pk3dir.git Make hagar animation loop --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index debe7a5c1..615ec0b29 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -329,7 +329,7 @@ void viewmodel_draw(entity this) this.viewmodel_angles = this.angles; } anim_update(this); - if (!this.animstate_override) + if (!this.animstate_override && !this.animstate_looping) anim_set(this, this.anim_idle, true, false, false); } float f = 0; // 0..1; 0: fully active