Remove dead code

Object class is quake specific stuff and these parts were *dead*. There is more references to the pointer but it is commented and seems to be used as "reference code" for future implementation of player functions, so I prefered not touching them.
This commit is contained in:
Sylvain THESNIERES 2012-06-14 08:09:03 +02:00
parent 0c7476b88c
commit 9f84518910
2 changed files with 0 additions and 11 deletions

View file

@ -15,8 +15,6 @@ Quake 3 Arena is copyright (C) 1999-2005 Id Software, Inc.
//#include "GameTime.h"
//#include "Object.h"
//#include "Sound.h"
//#include "..\..\ESMParser\ESMParser\SNDG.h"
@ -68,7 +66,6 @@ static struct playermoveLocal
int waterHeight;
bool hasWater;
bool isInterior;
//Object* traceObj;
} pml;
@ -1833,13 +1830,6 @@ void PmoveSingle (playerMove* const pmove)
pml.hasWater = pmove->hasWater;
pml.isInterior = pmove->isInterior;
pml.waterHeight = pmove->waterHeight;
//#ifdef _DEBUG
//if (!pml.traceObj)
// __debugbreak();
//
//if (!pml.traceObj->incellptr)
// __debugbreak();
//#endif
// determine the time
pml.msec = pmove->cmd.serverTime - pm->ps.commandTime;

View file

@ -190,7 +190,6 @@ struct playerMove
int waterHeight;
bool hasWater;
bool isInterior;
//Object* traceObj;
OEngine::Physic::PhysicEngine* mEngine;
};