From dc92a6cd79b766e8c8b565f2d3b28af86f29aa74 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Fri, 4 Feb 2011 17:01:08 +0000 Subject: [PATCH] Fix #4683, thanks Zack Middleton --- code/botlib/be_ai_weap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/botlib/be_ai_weap.c b/code/botlib/be_ai_weap.c index 0aab5e8c..492f943a 100644 --- a/code/botlib/be_ai_weap.c +++ b/code/botlib/be_ai_weap.c @@ -83,7 +83,7 @@ static fielddef_t weaponinfo_fields[] = 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