]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/animdecide.qh
Make client includes order insensitive
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / animdecide.qh
index c4834793aba4a11ada58621ddb3b4a1ce4130242..9dc7cf7dbd0dd6273a655cb938f185e383c7d6e2 100644 (file)
@@ -25,7 +25,7 @@ void animdecide_setframes(entity e, bool support_blending, .int fld_frame, .int
 .float anim_upper_implicit_time;
 
 // explicit anim states (networked)
-void animdecide_setstate(entity e, float newstate, float restart);
+void animdecide_setstate(entity e, int newstate, float restart);
 const int ANIMSTATE_DEAD1 = 1; // base frames: die1
 const int ANIMSTATE_DEAD2 = 2; // base frames: die2
 const int ANIMSTATE_DUCK = 4; // turns walk into duckwalk, jump into duckjump, etc.
@@ -48,4 +48,4 @@ const int ANIMACTION_PAIN2 = 3; // pain
 const int ANIMACTION_SHOOT = 4; // shoot
 const int ANIMACTION_TAUNT = 5; // taunt
 const int ANIMACTION_MELEE = 6; // melee
-#endif
\ No newline at end of file
+#endif