Merged dev changes 9/7/2019

- Experimental RPC stuff for the future
- Fixed players running over allies with vehicles (kind of)
- Modified redirect filter infrastructure to support when there's no target filter (meaning it will just make sure the entity exists)
- Fixed SDK_EyeRefract
- Fixed env_beam SetStart/EndEntity
- New "OnStateChange" output on NPCs
- scripted_face removed (use generic facing VCDs instead)
- Fixed RPC
- Miscellaneous code cleanup
This commit is contained in:
Blixibon
2019-09-07 21:05:59 +00:00
parent 3d464bc051
commit 031e383fb5
16 changed files with 132 additions and 205 deletions

View File

@@ -120,6 +120,14 @@ void CWorldLights::Clear()
//-----------------------------------------------------------------------------
bool CWorldLights::Init()
{
#ifdef MAPBASE
// Moved to its own clientside interface after I found out it was possible
// (still have no idea how or why this works)
if ((g_pEngineServer = serverengine) == NULL)
return false;
return true;
#else
factorylist_t factories;
FactoryList_Retrieve(factories);
@@ -127,6 +135,7 @@ bool CWorldLights::Init()
return false;
return true;
#endif
}
//-----------------------------------------------------------------------------