]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 debe7a5c1864bc312920bb8b2d8fb7619e955939..615ec0b29f666416f5dabc49de495e9c7d6987d6 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