diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2023-04-28 23:05:04 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2023-04-28 23:05:04 +0100 |
commit | 5c62ab15b29466f7f294b754685366655aa603ff (patch) | |
tree | 6e074f49c38ac02e80daf9a1cc85aa780653d376 /src/stubs/vstdlib.c | |
parent | eb19af607e88513053fe871a92684564b86ee7b8 (diff) |
Fix incorrectly implemented con_setvar functions
These were never actually used before or this would have been caught
sooner, but as they're being used in some in-progress code this
obviously needs fixed now.
The virtual table indices in use were wrong for some engines due to the
funny thing Windows does with reverse-ordered overloads. The code for
building the plugin's own virtual tables explicitly accounts for this
but calling into existing cvars failed to do so, due to a skill issue.
This fix is kind of inelegant and stupid but making it elegant and
non-stupid is less of a priority at the moment. It should happen
eventually with future improvements to the gamedata system, for some
definition of "should," "eventually," and "future."
Diffstat (limited to 'src/stubs/vstdlib.c')
0 files changed, 0 insertions, 0 deletions