mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-12-03 01:22:30 +00:00
67b1a8fd95
The r1q2 URL generator was, like everything in this game, buggy. It took cl.gamedir into account when generating the URLs, but overlooked that it is only set when 'gamedir != BASEDIR'. So baseq2 assets ended up with /maps/foo.bsp and mod assets with /mod/maps/foo.bsp. q2pro fixed that to always include the gamedir... Work around this by refactoring the HTTP -> UDP fallback logic to be more generic: Count the number of iterations and depending on the iteration set the gamedir to be used by the URL generator or force UDP downloads. |
||
---|---|---|
.. | ||
backends | ||
client | ||
common | ||
game | ||
server | ||
win-wrapper |