]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
prvm_edict: Add warning for attempting to load FTEQW progs while support is incomplete
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 28 Nov 2020 16:08:19 +0000 (16:08 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 28 Nov 2020 16:08:19 +0000 (16:08 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13046 d7cf8633-e32d-0410-b094-e92efae38249

prvm_edict.c

index 48e2018c63ca2499788b588bf27cab4d8e069a47..54609bb25ee9627687ea2baea67b44fffbb04350 100644 (file)
@@ -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);