alliedmodders/sourcemod — pull request #33 by psychonic (2014-06-12 02:48:54+00:00)
Title: Use updated IServerTools iface on TF2 for getting tempent list and FindEntityByClassname

Today's TF2 update added some new functions to IServerTools to make our lives mildly easier, thanks to TonyP @ Valve.

Attached patch changes our s_pTempEntities and FindEntityByClassname getters to use the new interface functions rather than rely on byte signatures or symbol names. These SDKTools changes can also be enabled for HL2:DM, DoD:S, CS:S, and SDK Base 2013 mods once they receive the game/SDK changes.

Existing gamedata for these is intentionally (albeit confusingly) left in tact so that our gamedata updater will not remove them from existing installs that may not yet have the new logic.