Skip to content

Commit

Permalink
Remove previously deprecated compatibility with outdated versions of …
Browse files Browse the repository at this point in the history
…trigger_compare
  • Loading branch information
FreeSlave committed Dec 7, 2024
1 parent 88b3893 commit 2da3675
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions dlls/triggers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6481,18 +6481,6 @@ enum
class CTriggerCompare : public CPointEntity
{
public:
void Spawn()
{
CPointEntity::Spawn();
if (pev->target)
{
ALERT(at_warning, "%s: Setting 'Fire On Equal To' via 'target' entvar is deprecated. Use 'trigger_on_equal' parameter\n", STRING(pev->classname));
if (!m_onEqual) {
m_onEqual = pev->target;
}
pev->target = iStringNull;
}
}
int ObjectCaps( void ) { return CPointEntity::ObjectCaps() | FCAP_MASTER; }
void KeyValue(KeyValueData *pkvd)
{
Expand Down

0 comments on commit 2da3675

Please sign in to comment.