summaryrefslogtreecommitdiffstats
path: root/fish_show.py
diff options
context:
space:
mode:
Diffstat (limited to 'fish_show.py')
-rw-r--r--fish_show.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_show.py b/fish_show.py
index 62a07c9..cb80d55 100644
--- a/fish_show.py
+++ b/fish_show.py
@@ -51,7 +51,7 @@ def compute_coverage(fish, x, y):
min_y = min(max(y, fish.y), y + 1)
max_y = max(min(y+1, fish.y + fish.height), y)
coverage = (max_x - min_x) * (max_y - min_y)
- return coverage * scale
+ return coverage * scale * fish.alpha_at(x, y)
def pick_HSV(depth):