Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripting/include/srccoop.inc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#define ENTPATCH_POINT_SERVERCOMMAND_CHANGELEVEL
#define ENTPATCH_ENV_ZOOM
#define ENTPATCH_ENV_CREDITS
#define ENTPATCH_ENV_SCREENOVERLAY
#define ENTPATCH_ENV_SPRITE
#define ENTPATCH_AI_SCRIPT_CONDITIONS
#define ENTPATCH_FUNC_ROTATING
Expand Down Expand Up @@ -74,6 +75,7 @@
#define ENTPATCH_ENV_ZOOM
#define ENTPATCH_ENV_CREDITS
#define ENTPATCH_ENV_INTROCREDITS
#define ENTPATCH_ENV_SCREENOVERLAY
#define ENTPATCH_ENV_SPRITE
#define ENTPATCH_AI_SCRIPT_CONDITIONS
#define ENTPATCH_LAGCOMP_POSE_PARAMS
Expand Down Expand Up @@ -153,12 +155,12 @@
#include <sourcescramble>
#include <logdebug>

#include <srccoop/globals>
#include <srccoop/typedef>
#include <srccoop/public>
#include <srccoop_api>
#include <srccoop/config>
#include <srccoop/features>
#include <srccoop/globals>
#include <srccoop/entity/CTriggerCoop>
#include <srccoop/kv_shared>
#include <srccoop/manager_changelevel>
Expand Down
4 changes: 2 additions & 2 deletions scripting/include/srccoop/bms/entitypatch.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// Patches for Black Mesa

static bool g_pPlayerIronsightClassic[MAXPLAYERS + 1];
static bool g_pPlayerIronsightClassic[MAX_PLAYERS + 1];

//------------------------------------------------------
// CNPC_PlayerCompanion - npc_human_scientist*, npc_human_security
Expand Down Expand Up @@ -353,7 +353,7 @@ public void Hook_XenTurretSpawnPost(int iEntIndex)
// CMiscMarionettist - misc_marionettist
// Prevent a crash due to reactivation before finishing or when used by multiple players at once
//------------------------------------------------------
CBaseEntity g_pActiveMarionettist[MAXPLAYERS+1] = {view_as<CBaseEntity>(-1), ...};
CBaseEntity g_pActiveMarionettist[MAX_PLAYERS+1] = {view_as<CBaseEntity>(-1), ...};

public MRESReturn Hook_MarionettistAcceptInput(int _this, DHookReturn hReturn, DHookParam hParams)
{
Expand Down
Loading