Commit 4f1ba0f
Make mp_show_hintmessages respect bOverride to preserve ReAPI contract
Move the cvar check below the IsAlive gate and skip it when bOverride is
set, so it acts as a server-side sibling of the client _ah (auto-help)
preference rather than an unconditional block.
The hook chain terminal (HintMessageEx OrigFunc) still runs after all
plugin hooks, so RG_CBasePlayer_HintMessageEx keeps firing for vanilla
events. And because bOverride already bypasses m_bShowHints today, ReAPI
callers that need guaranteed delivery (rg_hint_message with override)
keep their existing escape hatch — no new contract is broken.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 6c6cf17 commit 4f1ba0f
3 files changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8108 | 8108 | | |
8109 | 8109 | | |
8110 | 8110 | | |
8111 | | - | |
8112 | | - | |
8113 | | - | |
8114 | | - | |
8115 | | - | |
8116 | 8111 | | |
8117 | 8112 | | |
8118 | 8113 | | |
| 8114 | + | |
| 8115 | + | |
| 8116 | + | |
| 8117 | + | |
| 8118 | + | |
| 8119 | + | |
| 8120 | + | |
| 8121 | + | |
8119 | 8122 | | |
8120 | 8123 | | |
8121 | 8124 | | |
| |||
0 commit comments