]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove an old note
authorMario <mario@smbclan.net>
Tue, 12 Jun 2018 07:25:33 +0000 (17:25 +1000)
committerMario <mario@smbclan.net>
Tue, 12 Jun 2018 07:25:33 +0000 (17:25 +1000)
qcsrc/common/gamemodes/gamemode/invasion/invasion.qc
qcsrc/common/monsters/sv_monsters.qc

index d6f9860c9874f17c1665edeed78d78d48570bd3a..d308f5e169e8a9031535e3aac66b550c384fc2e3 100644 (file)
@@ -138,8 +138,8 @@ Monster invasion_PickMonster(int supermonster_count)
 
        FOREACH(Monsters, it != MON_Null,
        {
-               if((it.spawnflags & MON_FLAG_HIDDEN) || (it.spawnflags & MONSTER_TYPE_PASSIVE) || (it.spawnflags & MONSTER_TYPE_FLY) || (it.spawnflags & MONSTER_TYPE_SWIM) ||
-                       (it.spawnflags & MONSTER_SIZE_QUAKE) || ((it.spawnflags & MON_FLAG_SUPERMONSTER) && supermonster_count >= 1))
+               if((it.spawnflags & MON_FLAG_HIDDEN) || (it.spawnflags & MONSTER_TYPE_PASSIVE) || (it.spawnflags & MONSTER_TYPE_FLY) || (it.spawnflags & MONSTER_TYPE_SWIM)
+                       || (it.spawnflags & MONSTER_SIZE_QUAKE) || ((it.spawnflags & MON_FLAG_SUPERMONSTER) && supermonster_count >= 1))
                        continue;
                if(autocvar_g_invasion_zombies_only && !(it.spawnflags & MONSTER_TYPE_UNDEAD))
                        continue;
index e762603d5bb6a9dd7d7fcf25a64399e323314270..6c44d2c15a153aa10e5e403c23b7e8f1647f0b52 100644 (file)
@@ -791,7 +791,7 @@ void Monster_Move(entity this, float runspeed, float walkspeed, float stpspeed)
                bool do_run = (this.enemy || this.monster_moveto);
                movelib_move_simple(this, v_forward, ((do_run) ? runspeed : walkspeed), 0.4);
 
-               if(time > this.pain_finished && time > this.anim_finished) // TODO: use anim_finished instead!?
+               if(time > this.pain_finished && time > this.anim_finished)
                if(!this.state)
                if(vdist(this.velocity, >, 10))
                        setanim(this, ((do_run) ? this.anim_run : this.anim_walk), true, false, false);