Fix against upstream Nuclide.
This commit is contained in:
parent
60eaae7b2b
commit
9c558a8f5c
3 changed files with 5 additions and 3 deletions
|
@ -18,7 +18,7 @@ class CUIEventGrabber:CUIWidget
|
||||||
{
|
{
|
||||||
//void(void) CUIEventGrabber;
|
//void(void) CUIEventGrabber;
|
||||||
virtual void(void) Draw;
|
virtual void(void) Draw;
|
||||||
virtual void(float, float, float, float) Input;
|
virtual bool(float, float, float, float) Input;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ CUIEventGrabber::Draw(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
bool
|
||||||
CUIEventGrabber::Input(float flEVType, float flKey, float flChar, float flDevID)
|
CUIEventGrabber::Input(float flEVType, float flKey, float flChar, float flDevID)
|
||||||
{
|
{
|
||||||
// no need to do this.
|
// no need to do this.
|
||||||
|
@ -68,7 +68,7 @@ CUIEventGrabber::Input(float flEVType, float flKey, float flChar, float flDevID)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1106,6 +1106,7 @@ TSMultiplayerRules::PlayerSpawn(NSClientPlayer pp)
|
||||||
|
|
||||||
// ALSO - start the minimum spawn delay.
|
// ALSO - start the minimum spawn delay.
|
||||||
pl.minimumRespawnTime = autocvar_respawntime;
|
pl.minimumRespawnTime = autocvar_respawntime;
|
||||||
|
pl.health = 100;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#define QWSSQC
|
#define QWSSQC
|
||||||
#define SERVER
|
#define SERVER
|
||||||
#define TS
|
#define TS
|
||||||
|
#define NO_LEGACY
|
||||||
|
|
||||||
// TS definitely has penetration, and so should this then.
|
// TS definitely has penetration, and so should this then.
|
||||||
#define BULLETPENETRATION
|
#define BULLETPENETRATION
|
||||||
|
|
Loading…
Reference in a new issue