mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
This commit is contained in:
@@ -992,7 +992,7 @@ void CL_InitClientMove( void )
|
||||
clgame.pmove->RandomFloat = COM_RandomFloat;
|
||||
clgame.pmove->PM_GetModelType = pfnGetModelType;
|
||||
clgame.pmove->PM_GetModelBounds = pfnGetModelBounds;
|
||||
clgame.pmove->PM_HullForBsp = pfnHullForBsp;
|
||||
clgame.pmove->PM_HullForBsp = (void*)pfnHullForBsp;
|
||||
clgame.pmove->PM_TraceModel = pfnTraceModel;
|
||||
clgame.pmove->COM_FileSize = COM_FileSize;
|
||||
clgame.pmove->COM_LoadFile = COM_LoadFile;
|
||||
@@ -1407,4 +1407,4 @@ void CL_PredictMovement( qboolean repredicting )
|
||||
|
||||
VectorCopy( cl.simorg, cl.local.lastorigin );
|
||||
cl.local.repredicting = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user