summaryrefslogtreecommitdiffhomepage
path: root/src/stubs/vstdlib.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2023-04-28 23:05:04 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2023-04-28 23:05:04 +0100
commit5c62ab15b29466f7f294b754685366655aa603ff (patch)
tree6e074f49c38ac02e80daf9a1cc85aa780653d376 /src/stubs/vstdlib.c
parenteb19af607e88513053fe871a92684564b86ee7b8 (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