From: Mario Date: Sun, 30 Aug 2015 11:32:50 +0000 (+1000) Subject: Allow pushing anything with pushable flag X-Git-Tag: xonotic-v0.8.2~1965 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9b337887ed1ce7a940535b850d48a9cf9ed55951;p=xonotic%2Fxonotic-data.pk3dir.git Allow pushing anything with pushable flag --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index 5b7011ee7..55b8c2ea2 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -1968,10 +1968,12 @@ float LostMovetypeFollow(entity ent) float isPushable(entity e) { - if(e.iscreature) - return true; if(e.pushable) return true; + if(IS_VEHICLE(e)) + return false; + if(e.iscreature) + return true; switch(e.classname) { case "body":