diff --git a/core/vip.c b/core/vip.c index c0e33ce..d8d92be 100644 --- a/core/vip.c +++ b/core/vip.c @@ -1013,7 +1013,7 @@ static void vipDrawAffine(VB *sim, World *world) { y1 = world->gy; if (y1 >= 224) return; - y2 = y1 + world->height; + y2 = world->gy + world->height; if (y2 <= 0) return; if (y1 < 0)