Skip to content

Commit

Permalink
fix compile err
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Oct 8, 2024
1 parent d4b1d80 commit 6145a04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fallguys/engine_hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,12 @@ void SV_ClipToLinksEx(areanode_t *node, moveclip_t *clip)

trace_t SV_MoveEx(vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int type, edict_t *passedict, qboolean monsterClipBrush)
{
moveclip_t clip;
moveclip_t clip = { 0 };
int i;
vec3_t worldEndPoint;
float worldFraction;

memset(&clip, 0, sizeof(moveclip_t));
//memset(&clip, 0, sizeof(moveclip_t));

// clip to world
SV_SingleClipMoveToEntity_10152(g_engfuncs.pfnPEntityOfEntIndex(0), start, mins, maxs, end, &clip.trace, passedict);
Expand Down
1 change: 0 additions & 1 deletion fallguys/meta_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@ C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME /* now */,
if (ctx.result)
{
pmovevars = (decltype(pmovevars))ctx.result;
break;
}

if (!pmovevars)
Expand Down

0 comments on commit 6145a04

Please sign in to comment.