A better spawn point when entering the streamless state.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2782 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-11-09 17:41:08 +00:00
parent 3a156266a4
commit e46e9e48ea

View file

@ -25,6 +25,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static const filename_t ConnectionlessModelList[] = {{""}, {"maps/start.bsp"}, {"progs/player.mdl"}, {""}}; static const filename_t ConnectionlessModelList[] = {{""}, {"maps/start.bsp"}, {"progs/player.mdl"}, {""}};
static const filename_t ConnectionlessSoundList[] = {{""}, {""}}; static const filename_t ConnectionlessSoundList[] = {{""}, {""}};
const intermission_t nullstreamspot = {{544, 288, 64}, {0, 90, 0}};
void QTV_Say(cluster_t *cluster, sv_t *qtv, viewer_t *v, char *message, qboolean noupwards); void QTV_Say(cluster_t *cluster, sv_t *qtv, viewer_t *v, char *message, qboolean noupwards);
void QTV_DefaultMovevars(movevars_t *vars) void QTV_DefaultMovevars(movevars_t *vars)
@ -3258,7 +3260,7 @@ void QW_PositionAtIntermission(sv_t *qtv, viewer_t *v)
if (qtv) if (qtv)
spot = BSP_IntermissionSpot(qtv->bsp); spot = BSP_IntermissionSpot(qtv->bsp);
else else
spot = BSP_IntermissionSpot(NULL); spot = &nullstreamspot;
v->origin[0] = spot->pos[0]; v->origin[0] = spot->pos[0];