Trunk Sync - r7014

This commit is contained in:
Zacam committed 2011-02-14 17:03:01 +00:00
1 parent 400383f901
commit 4ab313e1b6
15 files changed
+691 -114

No files matched your search

+3 -1
View File
@@ -912,7 +912,9 @@ int multi_oo_unpack_data(net_player *pl, ubyte *data)
// add the value just generated (it was zero'ed above) into the array of generic system types
subsys_type = subsysp->system_info->type; // this is the generic type of subsystem
Assert ( subsys_type < SUBSYSTEM_MAX );
shipp->subsys_info[subsys_type].current_hits += val;
if (!(subsysp->flags & SSF_NO_AGGREGATE)) {
shipp->subsys_info[subsys_type].aggregate_current_hits += val;
}
subsys_count++;
// if we've reached max subsystems for some reason, bail out