Added Fore_Grab to build

This commit is contained in:
Simon 2020-11-17 20:42:25 +00:00
parent d1c3dbad45
commit 841e47cd9d
2 changed files with 4 additions and 3 deletions

View file

@ -28,10 +28,9 @@ If you have questions concerning this license or the applicable additional terms
#include "sys/platform.h"
#include "framework/UsercmdGen.h"
#include "physics/Physics.h"
#include "physics/Force_Grab.h"
#include "WorldSpawn.h"
#include "renderer/RenderSystem.h"
@ -151,7 +150,8 @@ void idForce_Grab::Evaluate( int time )
objectCenter = physics->GetAbsBounds( id ).GetCenter();
if( g_grabberRandomMotion.GetBool() && !common->IsMultiplayer() )
//TODO: SB g_grabberRandomMotion needs defining
if( /* g_grabberRandomMotion.GetBool() && */ !gameLocal.isMultiplayer )
{
// Jitter the objectCenter around so it doesn't remain stationary
float SinOffset = idMath::Sin( ( float )( gameLocal.time ) / 66.f );

View file

@ -138,6 +138,7 @@ src_game = \
game/physics/Force_Constant.cpp \
game/physics/Force_Drag.cpp \
game/physics/Force_Field.cpp \
game/physics/Force_Grab.cpp \
game/physics/Force_Spring.cpp \
game/physics/Physics.cpp \
game/physics/Physics_AF.cpp \