]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/miscfunctions.qc
Allow pushing anything with pushable flag
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / miscfunctions.qc
index 5b7011ee743a1abb0ed55fc3723eca65f7741d23..55b8c2ea275665975078982819647dd378889b7e 100644 (file)
@@ -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":