mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2024-11-23 12:22:20 +00:00
Added Fore_Grab to build
This commit is contained in:
parent
d1c3dbad45
commit
841e47cd9d
2 changed files with 4 additions and 3 deletions
|
@ -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 );
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue