diff --git a/Quake/server.h b/Quake/server.h index 7eb3f51a..e28f10e7 100644 --- a/Quake/server.h +++ b/Quake/server.h @@ -128,6 +128,7 @@ typedef struct client_s #define MOVETYPE_NOCLIP 8 #define MOVETYPE_FLYMISSILE 9 // extra size to monsters #define MOVETYPE_BOUNCE 10 +#define MOVETYPE_GIB 11 // 2021 rerelease gibs // edict->solid values #define SOLID_NOT 0 // no interaction with other objects diff --git a/Quake/sv_phys.c b/Quake/sv_phys.c index eb5019a4..cf2827eb 100644 --- a/Quake/sv_phys.c +++ b/Quake/sv_phys.c @@ -940,6 +940,7 @@ void SV_Physics_Client (edict_t *ent, int num) case MOVETYPE_TOSS: case MOVETYPE_BOUNCE: + case MOVETYPE_GIB: SV_Physics_Toss (ent); break; @@ -1216,6 +1217,7 @@ void SV_Physics (void) else if (ent->v.movetype == MOVETYPE_STEP) SV_Physics_Step (ent); else if (ent->v.movetype == MOVETYPE_TOSS + || ent->v.movetype == MOVETYPE_GIB || ent->v.movetype == MOVETYPE_BOUNCE || ent->v.movetype == MOVETYPE_FLY || ent->v.movetype == MOVETYPE_FLYMISSILE)