From 9ecc4a30bec4f7fb122bfdc6c2b0ee249dc6f9bc Mon Sep 17 00:00:00 2001 From: Shpoike Date: Thu, 2 May 2019 04:22:54 +0100 Subject: [PATCH] Make sure world.message is set in csqc. --- Quake/host.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Quake/host.c b/Quake/host.c index 58c971af..3f60789a 100644 --- a/Quake/host.c +++ b/Quake/host.c @@ -777,6 +777,9 @@ void _Host_Frame (double time) if (qcvm->extglobals.player_localnum) *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. qcvm->worldmodel = cl.worldmodel; SV_ClearWorld();