]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/view.qc
Make hagar animation loop
[xonotic/xonotic-data.pk3dir.git] / 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