Mentrillum / Slender-Fortress-Modified-Versions

A modification of Team Fortress 2 based on the game Slender: The Eight Pages.
GNU General Public License v3.0
34 stars 23 forks source link

Linux fix for inputs not firing with arguments #28

Closed KitRifty closed 3 years ago

KitRifty commented 3 years ago

Linux was playing hard to get this time. In CBaseEntity::AcceptInput(), the variant_t structure is being passed as a pointer rather than how a struct is passed traditionally on Windows (where everything goes on the stack). Plugin will now adjust according to the server's OS.

Also, renamed entities -> mapentities for consistency. No other changes.