]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - progsvm.h
changed main() argv parameter to non-const, and casting it to const on assignment...
[xonotic/darkplaces.git] / progsvm.h
index 3e64d430e72a2b1afa1559a4905cd183c99d0c5b..12c85cd1d99e2eac96e8abf3ccc33939beb71cd4 100644 (file)
--- a/progsvm.h
+++ b/progsvm.h
@@ -170,7 +170,12 @@ typedef struct prvm_edict_s
 {
        // engine-private fields (stored in dynamically resized array)
        //edict_engineprivate_t *e;
-       prvm_edict_private_t *e;
+       union 
+       {
+               prvm_edict_private_t *e;
+               void                             *vp;
+               //add other types as you desire
+       } p;
        // QuakeC fields (stored in dynamically resized array)
        //entvars_t *v;
        void *v;