mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 21:31:46 +08:00
engine: server: fix -Wmaybe-uninitialized
This commit is contained in:
@@ -602,6 +602,7 @@ static int SV_FlyMove( edict_t *ent, float time, trace_t *steptrace )
|
||||
monsterClip = FBitSet( ent->v.flags, FL_MONSTERCLIP ) ? true : false;
|
||||
VectorCopy( ent->v.velocity, original_velocity );
|
||||
VectorCopy( ent->v.velocity, primal_velocity );
|
||||
VectorClear( new_velocity );
|
||||
numplanes = 0;
|
||||
|
||||
allFraction = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user