Corrected misspelling in HL support (rendertype is now rendermode).
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Aug 2000 00:57:51 +0000 (00:57 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Aug 2000 00:57:51 +0000 (00:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7 d7cf8633-e32d-0410-b094-e92efae38249

pr_edict.c
progs.h

index c0ffb11..d327821 100644 (file)
@@ -93,7 +93,7 @@ int eval_items2;
 int eval_scale;
 int eval_alpha;
 int eval_renderamt; // HalfLife support
-int eval_rendertype; // HalfLife support
+int eval_rendermode; // HalfLife support
 int eval_fullbright;
 int eval_ammo_shells1;
 int eval_ammo_nails1;
@@ -140,7 +140,7 @@ void FindEdictFieldOffsets()
        eval_scale = FindFieldOffset("scale");
        eval_alpha = FindFieldOffset("alpha");
        eval_renderamt = FindFieldOffset("renderamt"); // HalfLife support
-       eval_rendertype = FindFieldOffset("rendertype"); // HalfLife support
+       eval_rendermode = FindFieldOffset("rendermode"); // HalfLife support
        eval_fullbright = FindFieldOffset("fullbright");
        eval_ammo_shells1 = FindFieldOffset("ammo_shells1");
        eval_ammo_nails1 = FindFieldOffset("ammo_nails1");
diff --git a/progs.h b/progs.h
index f33e955..485280f 100644 (file)
--- a/progs.h
+++ b/progs.h
@@ -73,7 +73,7 @@ extern int eval_items2;
 extern int eval_scale;
 extern int eval_alpha;
 extern int eval_renderamt; // HalfLife support
-extern int eval_rendertype; // HalfLife support
+extern int eval_rendermode; // HalfLife support
 extern int eval_fullbright;
 extern int eval_ammo_shells1;
 extern int eval_ammo_nails1;