mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-08 11:20:46 -05:00
Update ex 047 comment and patch
This commit is contained in:
parent
392a3ca9c6
commit
c3c610acf0
2 changed files with 4 additions and 4 deletions
|
@ -88,7 +88,7 @@ pub fn main() void {
|
|||
// Loop through every alien...
|
||||
for (aliens) |*alien| {
|
||||
|
||||
// *** Zap the Alien Here! ***
|
||||
// *** Zap the alien with the heat ray here! ***
|
||||
???.zap(???);
|
||||
|
||||
// If the alien's health is still above 0, it's still alive.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
87c87
|
||||
< ???.zap(heat_ray_strength);
|
||||
92c92
|
||||
< ???.zap(???);
|
||||
---
|
||||
> alien.zap(heat_ray_strength);
|
||||
> heat_ray.zap(alien);
|
||||
|
|
Loading…
Reference in a new issue