- fixed merge errors.

This commit is contained in:
Christoph Oelckers 2019-11-26 19:10:24 +01:00
parent 348ccdfd5b
commit abdd807e7f
3 changed files with 2 additions and 16 deletions

View File

@ -753,7 +753,6 @@ FString GameInterface::statFPS()
GameStats GameInterface::getStats()
{
GameStats stats;
DukePlayer_t* p = g_player[myconnectindex].ps;
return { p->actors_killed, p->max_actors_killed, p->secret_rooms, p->max_secret_rooms, p->player_par / REALGAMETICSPERSEC };
}

View File

@ -24,9 +24,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
*/
//-------------------------------------------------------------------------
#include "ns.h"
// Added improved crosshair accuracy
// Added UsingMenus for fragbar
//
#include "build.h"

View File

@ -105,13 +105,6 @@ signed char MNU_InputString(char*, short);
SWBOOL IsCommand(const char* str);
SWBOOL MNU_StartNetGame(void);
#ifdef _WIN32
# include "winbits.h"
#endif
const char* AppProperName = "VoidSW";
const char* AppTechnicalName = "voidsw";
#if DEBUG
#define BETA 0
@ -4072,9 +4065,6 @@ void getinput(SW_PACKET *loc)
int32_t keymove;
constexpr int const analogExtent = 32767; // KEEPINSYNC sdlayer.cpp
svel -= info.dx * keyMove / analogExtent;
vel -= info.dz * keyMove / analogExtent;
if (running)
{
if (pp->sop_control)
@ -4110,12 +4100,12 @@ void getinput(SW_PACKET *loc)
angvel += info.dyaw * (turnamount << 1) / analogExtent;
}
if (aimMode)
if (true)//aimMode)
aimvel = -info.mousey / 64;
else
vel = -(info.mousey >> 6);
if (!in_mouseflip)
if (in_mouseflip)
aimvel = -aimvel;
aimvel -= info.dpitch * turnamount / analogExtent;