mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:23:52 +00:00
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:
parent
0c7476b88c
commit
9f84518910
2 changed files with 0 additions and 11 deletions
|
@ -15,8 +15,6 @@ Quake 3 Arena is copyright (C) 1999-2005 Id Software, Inc.
|
||||||
|
|
||||||
//#include "GameTime.h"
|
//#include "GameTime.h"
|
||||||
|
|
||||||
//#include "Object.h"
|
|
||||||
|
|
||||||
//#include "Sound.h"
|
//#include "Sound.h"
|
||||||
|
|
||||||
//#include "..\..\ESMParser\ESMParser\SNDG.h"
|
//#include "..\..\ESMParser\ESMParser\SNDG.h"
|
||||||
|
@ -68,7 +66,6 @@ static struct playermoveLocal
|
||||||
int waterHeight;
|
int waterHeight;
|
||||||
bool hasWater;
|
bool hasWater;
|
||||||
bool isInterior;
|
bool isInterior;
|
||||||
//Object* traceObj;
|
|
||||||
|
|
||||||
} pml;
|
} pml;
|
||||||
|
|
||||||
|
@ -1833,13 +1830,6 @@ void PmoveSingle (playerMove* const pmove)
|
||||||
pml.hasWater = pmove->hasWater;
|
pml.hasWater = pmove->hasWater;
|
||||||
pml.isInterior = pmove->isInterior;
|
pml.isInterior = pmove->isInterior;
|
||||||
pml.waterHeight = pmove->waterHeight;
|
pml.waterHeight = pmove->waterHeight;
|
||||||
//#ifdef _DEBUG
|
|
||||||
//if (!pml.traceObj)
|
|
||||||
// __debugbreak();
|
|
||||||
//
|
|
||||||
//if (!pml.traceObj->incellptr)
|
|
||||||
// __debugbreak();
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
// determine the time
|
// determine the time
|
||||||
pml.msec = pmove->cmd.serverTime - pm->ps.commandTime;
|
pml.msec = pmove->cmd.serverTime - pm->ps.commandTime;
|
||||||
|
|
|
@ -190,7 +190,6 @@ struct playerMove
|
||||||
int waterHeight;
|
int waterHeight;
|
||||||
bool hasWater;
|
bool hasWater;
|
||||||
bool isInterior;
|
bool isInterior;
|
||||||
//Object* traceObj;
|
|
||||||
OEngine::Physic::PhysicEngine* mEngine;
|
OEngine::Physic::PhysicEngine* mEngine;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue