Would you see any disadvantage changing these lines to 
```
haz->beacon = powers[power_index].beacon
```
?