From: cloudwalk Date: Sat, 28 Nov 2020 16:08:19 +0000 (+0000) Subject: prvm_edict: Add warning for attempting to load FTEQW progs while support is incomplete X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6a64fd9be444415e5b311251a33ae418d92cd1e1;p=xonotic%2Fdarkplaces.git prvm_edict: Add warning for attempting to load FTEQW progs while support is incomplete git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13046 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_edict.c b/prvm_edict.c index 48e2018c..54609bb2 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -2059,8 +2059,8 @@ void PRVM_Prog_Load(prvm_prog_t *prog, const char * filename, unsigned char * da dprograms_v7_t *v7 = (dprograms_v7_t*)dprograms; structtype = LittleLong(v7->secondaryversion); if (structtype == PROG_SECONDARYVERSION16 || - structtype == PROG_SECONDARYVERSION32) - ;//supported + structtype == PROG_SECONDARYVERSION32) // barely supported + Con_Printf(CON_WARN "WARNING: %s: %s targets FTEQW, for which support is incomplete. Proceed at your own risk.\n", prog->name, filename); else prog->error_cmd("%s: %s targets unknown engine", prog->name, filename);