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: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=fc0f6c588aa716a6314a18813c760c2861cce3af Make hagar animation loop --- diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index debe7a5c18..615ec0b29f 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