]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/monsters.qc
Properly fix monsters thinking they're fish
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / monsters.qc
index e0fa128505ed7efcea2e5b65dd6d443bad5dfffa..0dfbcf4c07b8c12f9369c83ac1527a6b94aee000 100644 (file)
@@ -40,6 +40,9 @@ void monster_construct()
        min_s = mon.mins;
        max_s = mon.maxs;
        
+       if(mon.spawnflags & MONSTER_SIZE_BROKEN)
+               self.scale = 1.3;
+       
        self.netname = M_NAME(self.monsterid);
 
        setorigin(self, self.origin);
@@ -76,7 +79,6 @@ void ent_monster()
                
                self.skin = ReadByte();
                self.team = ReadByte();
-               self.scale = ReadByte();
                
                monster_construct();
                monster_changeteam();