Skip to content

Commit

Permalink
Fix E:Z2 player deriving from base player instead of HL2 player in VS…
Browse files Browse the repository at this point in the history
…cript
  • Loading branch information
Blixibon committed Jan 26, 2025
1 parent 1776328 commit 325f9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sp/src/game/server/ez2/ez2_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ BEGIN_DATADESC(CEZ2_Player)
DEFINE_INPUTFUNC(FIELD_VOID, "__FinishBonusChallenge", InputFinishBonusChallenge),
END_DATADESC()

BEGIN_ENT_SCRIPTDESC( CEZ2_Player, CBasePlayer, "E:Z2's player entity." )
BEGIN_ENT_SCRIPTDESC( CEZ2_Player, CHL2_Player, "E:Z2's player entity." )

DEFINE_SCRIPTFUNC_NAMED( ScriptGetNPCComponent, "GetNPCComponent", "Gets the player's NPC component." )
DEFINE_SCRIPTFUNC_NAMED( ScriptGetStaringEntity, "GetStaringEntity", "Gets the player's staring entity." )
Expand Down

0 comments on commit 325f9fc

Please sign in to comment.