|
|
|
@ -146,8 +146,7 @@ void WavepoolEffect::update(void) {
|
|
|
|
|
offsets[0] = 0;
|
|
|
|
|
offsets[4] += WP_WID;
|
|
|
|
|
offsets[5] += WP_WID;
|
|
|
|
|
}
|
|
|
|
|
else if (y==WP_HGT-1) {
|
|
|
|
|
} else if (y == WP_HGT - 1) {
|
|
|
|
|
offsets[1] = 0;
|
|
|
|
|
offsets[6] -= WP_WID;
|
|
|
|
|
offsets[7] -= WP_WID;
|
|
|
|
@ -156,8 +155,7 @@ void WavepoolEffect::update(void) {
|
|
|
|
|
offsets[2] = 0;
|
|
|
|
|
offsets[4] += 1;
|
|
|
|
|
offsets[6] += 1;
|
|
|
|
|
}
|
|
|
|
|
else if (x==WP_WID-1) {
|
|
|
|
|
} else if (x == WP_WID - 1) {
|
|
|
|
|
offsets[3] = 0;
|
|
|
|
|
offsets[5] -= 1;
|
|
|
|
|
offsets[7] -= 1;
|
|
|
|
|