Trunk Sync r6269. I hope this works. This is supposed to be a Trunk overlay merge into Antipodes, which should mean that Antipodes is now a copy of Trunk in all respects.

This commit is contained in:
Zacam committed 2010-06-29 22:09:34 +00:00
1 parent cfc49b7680
commit 3bebbbbcd0
232 files changed
+57599 -7950

No files matched your search

+3 -1
View File
@@ -49,7 +49,9 @@ void shield_add_strength(object *objp, float delta)
if (delta == 0.0f)
return;
if (!(Ai_info[Ships[objp->instance].ai_index].ai_profile_flags & AIPF_SMART_SHIELD_MANAGEMENT))
if (!(Ai_info[Ships[objp->instance].ai_index].ai_profile_flags & AIPF_SMART_SHIELD_MANAGEMENT)
|| delta <= 0.0f) //SUSHI: We don't want smart shield management for negative delta
{
for (int i = 0; i < MAX_SHIELD_SECTIONS; i++)
shield_add_quad(objp, i, delta / MAX_SHIELD_SECTIONS);