Loading projectile model string would overwrite wrong memory. It is
not used by baseq3/missionpack however.

Index: code/botlib/be_ai_weap.c
===================================================================
--- code/botlib/be_ai_weap.c    (revision 1787)
+++ code/botlib/be_ai_weap.c    (working copy)
@@ -83,7 +83,7 @@
 static fielddef_t projectileinfo_fields[] =
 {
 {"name", PROJECTILE_OFS(name), FT_STRING},                                     
//name of the projectile
-{"model", WEAPON_OFS(model), FT_STRING},                                       
        //model of the projectile
+{"model", PROJECTILE_OFS(model), FT_STRING},                                   
//model of the projectile
 {"flags", PROJECTILE_OFS(flags), FT_INT},                                      
        //special flags
 {"gravity", PROJECTILE_OFS(gravity), FT_FLOAT},                                
//amount of
gravity applied to the projectile [0,1]
 {"damage", PROJECTILE_OFS(damage), FT_INT},                                    
//damage of the projectile
_______________________________________________
ioquake3 mailing list
[email protected]
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to