Make hagar animation loop
authorMario <mario@smbclan.net>
Thu, 24 Mar 2016 19:51:54 +0000 (05:51 +1000)
committerMario <mario@smbclan.net>
Thu, 24 Mar 2016 19:51:54 +0000 (05:51 +1000)
qcsrc/client/view.qc

index debe7a5..615ec0b 100644 (file)
@@ -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