Skip to content

[TF2] Put other games' impulse commands behind preprocessor directive#1841

Open
YourSourceBoiii wants to merge 1 commit intoValveSoftware:masterfrom
YourSourceBoiii:impulsefix
Open

[TF2] Put other games' impulse commands behind preprocessor directive#1841
YourSourceBoiii wants to merge 1 commit intoValveSoftware:masterfrom
YourSourceBoiii:impulsefix

Conversation

@YourSourceBoiii
Copy link

ISSUE: Honestly, what's the point of having all these game specific impulse console commands in the engine-wide code? impulse 82 spawns the HL2 jeep for example, but HL2 is the only game that has those.

They should be put behind corresponding #ifdef statements if you ask me

@JoriKos
Copy link
Contributor

JoriKos commented Mar 15, 2026

Would this prevent spawning an airboat in Portal? It's a critical part of that game :^)

@YourSourceBoiii
Copy link
Author

Would this prevent spawning an airboat in Portal? It's a critical part of that game :^)

It wouldn't because Portal players use the ch_createairboat command, which is unaffected here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants