Skip to content

Commit e1a5d4c

Browse files
committed
Fix default radius not being set on magictech components
Closes #39
1 parent c5eb953 commit e1a5d4c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/game/magictech.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5838,6 +5838,8 @@ void magictech_build_effect_info(MagicTechInfo* info, char* str)
58385838

58395839
if (tig_str_parse_named_value(&str, "Radius:", &value)) {
58405840
component_info->aoe.radius = value;
5841+
} else {
5842+
component_info->aoe.radius = info->field_70[action].radius;
58415843
}
58425844

58435845
if (tig_str_parse_named_value(&str, "Count:", &value)) {

0 commit comments

Comments
 (0)