MrStahlfelge / lightblocks

Falling Lightblocks. Falling block game for Android (Mobile and TV), iOS, Web browsers. Works on desktops, too.
https://www.golfgl.de/lightblocks/
Other
140 stars 15 forks source link

Two SRS I piece wall kicks are incorrect #45

Open dentistformyeye opened 2 years ago

dentistformyeye commented 2 years ago

Two SRS wall kicks for the I tetromino have the wrong signs. The line numbers below are the same for the core directory and the server directory.

Line 265 should be wallkickPos.x = wallkickPos.x - 2; This corresponds to test 4 for 0->R and L->2.

Line 269 should be wallkickPos.x = wallkickPos.x + 2; This corresponds to test 4 for R->0 and 2->L.

MrStahlfelge commented 2 years ago

Thanks, I will take a look into it.