[qtv] Load the right model for world

For whatever reason, the client puts the models offset by one, but qtv
does not. It's much easier to find dm6.bsp than *1 :P
This commit is contained in:
Bill Currie 2021-12-27 16:59:21 +09:00
parent 8433905015
commit 57dbd7ed72

View file

@ -306,7 +306,7 @@ sv_skins_f (server_t *sv)
// actual in-game update messages // actual in-game update messages
MSG_WriteByte (&sv->netchan.message, qtv_stringcmd); MSG_WriteByte (&sv->netchan.message, qtv_stringcmd);
MSG_WriteString (&sv->netchan.message, va (0, "begin %d", sv->spawncount)); MSG_WriteString (&sv->netchan.message, va (0, "begin %d", sv->spawncount));
sv->worldmodel = Mod_ForName (sv->modellist[1], false); sv->worldmodel = Mod_ForName (sv->modellist[0], false);
sv->next_run = realtime; sv->next_run = realtime;
sv->connected = 2; sv->connected = 2;
sv->delta = -1; sv->delta = -1;