mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
map MOVETYPE_GIB of quake '2021 release' version to MOVETYPE_BOUNCE
This commit is contained in:
parent
51b23fa30a
commit
c82ef652db
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue