]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
moved light matrix generation out of the render code and into the light creation...
[xonotic/darkplaces.git] / sv_phys.c
index 82b74882ab9c7c5ec1e7c1b32a632fc83ee84ef8..62b1ff62ac55bb3a517cb3bfd30da68588a77468 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -703,7 +703,8 @@ void SV_PushMove (edict_t *pusher, float movetime)
                if (check->v->movetype == MOVETYPE_PUSH
                 || check->v->movetype == MOVETYPE_NONE
                 || check->v->movetype == MOVETYPE_FOLLOW
-                || check->v->movetype == MOVETYPE_NOCLIP)
+                || check->v->movetype == MOVETYPE_NOCLIP
+                || check->v->movetype == MOVETYPE_FAKEPUSH)
                        continue;
 
                // if the entity is standing on the pusher, it will definitely be moved
@@ -1413,6 +1414,7 @@ void SV_Physics (void)
                switch ((int) ent->v->movetype)
                {
                case MOVETYPE_PUSH:
+               case MOVETYPE_FAKEPUSH:
                        SV_Physics_Pusher (ent);
                        break;
                case MOVETYPE_NONE: