X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fsv_monsters.qc;h=1635b5cb0d235c6eeb84dac673c18d98e9421e96;hb=51199f1c36a07bbb122733e032ecb805717b0d55;hp=0194d445119efa277251743b3101f169190a838d;hpb=a9786d5741a2c4ecf55cdca9bbf8b25eb98a4122;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/sv_monsters.qc b/qcsrc/common/monsters/sv_monsters.qc index 0194d4451..1635b5cb0 100644 --- a/qcsrc/common/monsters/sv_monsters.qc +++ b/qcsrc/common/monsters/sv_monsters.qc @@ -1436,7 +1436,7 @@ bool Monster_Spawn(entity this, bool check_appear, Monster mon) if((mon.spawnflags & MONSTER_SIZE_QUAKE) && autocvar_g_monsters_quake_resize && !(this.spawnflags & MONSTERFLAG_RESPAWNED)) this.scale *= 1.3; - setsize(this, mon.m_mins * this.scale, mon.m_maxs * this.scale); + setsize(this, RoundPerfectVector(mon.m_mins * this.scale), RoundPerfectVector(mon.m_maxs * this.scale)); this.view_ofs = '0 0 0.7' * (this.maxs_z * 0.5); this.ticrate = bound(sys_frametime, ((!this.ticrate) ? autocvar_g_monsters_think_delay : this.ticrate), 60);