Update ex 047 comment and patch

pull/2/head
Dave Gauer 2 years ago
parent 392a3ca9c6
commit c3c610acf0

@ -88,7 +88,7 @@ pub fn main() void {
// Loop through every alien... // Loop through every alien...
for (aliens) |*alien| { for (aliens) |*alien| {
// *** Zap the Alien Here! *** // *** Zap the alien with the heat ray here! ***
???.zap(???); ???.zap(???);
// If the alien's health is still above 0, it's still alive. // If the alien's health is still above 0, it's still alive.

@ -1,4 +1,4 @@
87c87 92c92
< ???.zap(heat_ray_strength); < ???.zap(???);
--- ---
> alien.zap(heat_ray_strength); > heat_ray.zap(alien);

Loading…
Cancel
Save