]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'master' into Mario/monsters
authorMario <mario.mario@y7mail.com>
Mon, 29 Jun 2020 12:39:56 +0000 (22:39 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 29 Jun 2020 12:39:56 +0000 (22:39 +1000)
1  2 
qcsrc/client/csqcmodel_hooks.qc
qcsrc/client/weapons/projectile.qc
qcsrc/common/mapinfo.qh
qcsrc/common/models/all.inc
qcsrc/common/monsters/sv_monsters.qc
qcsrc/menu/xonotic/util.qc
qcsrc/server/autocvars.qh
qcsrc/server/command/common.qc
qcsrc/server/g_world.qc
qcsrc/server/miscfunctions.qc
qcsrc/server/miscfunctions.qh

Simple merge
Simple merge
Simple merge
Simple merge
index 319b699a706372cc3aca360df4259d50dfac907c,4c2b5ff269a601b1ff502f3977f97af5552aa532..bdd8e5159a774480ccdd786ff388610be819f74c
@@@ -101,7 -88,6 +101,7 @@@ bool Monster_ValidTarget(entity this, e
        || (this.monster_follow == targ || targ.monster_follow == this)
        || (!IS_VEHICLE(targ) && (targ.flags & FL_NOTARGET))
        || (!autocvar_g_monsters_typefrag && PHYS_INPUT_BUTTON_CHAT(targ))
-       || (IS_VEHICLE(targ) && !((Monsters_from(this.monsterid)).spawnflags & MON_FLAG_RANGED)) // melee vs vehicle is useless
++      || (IS_VEHICLE(targ) && !((REGISTRY_GET(Monsters, this.monsterid)).spawnflags & MON_FLAG_RANGED)) // melee vs vehicle is useless
        || (SAME_TEAM(targ, this))
        || (STAT(FROZEN, targ))
        || (targ.alpha != 0 && targ.alpha < 0.5)
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge