mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 22:11:22 +00:00
Make sure world.message is set in csqc.
This commit is contained in:
parent
2819ed0adf
commit
9ecc4a30be
1 changed files with 3 additions and 0 deletions
|
@ -777,6 +777,9 @@ void _Host_Frame (double time)
|
||||||
if (qcvm->extglobals.player_localnum)
|
if (qcvm->extglobals.player_localnum)
|
||||||
*qcvm->extglobals.player_localnum = cl.viewentity-1; //this is a guess, but is important for scoreboards.
|
*qcvm->extglobals.player_localnum = cl.viewentity-1; //this is a guess, but is important for scoreboards.
|
||||||
|
|
||||||
|
//set a few worldspawn fields too
|
||||||
|
qcvm->edicts->v.message = PR_SetEngineString(cl.levelname);
|
||||||
|
|
||||||
//and call the init function... if it exists.
|
//and call the init function... if it exists.
|
||||||
qcvm->worldmodel = cl.worldmodel;
|
qcvm->worldmodel = cl.worldmodel;
|
||||||
SV_ClearWorld();
|
SV_ClearWorld();
|
||||||
|
|
Loading…
Reference in a new issue