Skip to content

Commit

Permalink
[Reviewed] [Marching squares] Fix a crash in the "point is inside" co…
Browse files Browse the repository at this point in the history
…ndition (#1140)
  • Loading branch information
D8H authored Jan 15, 2024
1 parent 89a384f commit 9a452de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extensions/reviewed/MarchingSquares.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "MarchingSquares",
"previewIconUrl": "https://resources.gdevelop-app.com/assets/Icons/peanut-outline.svg",
"shortDescription": "Allow to build a \"scalar field\" and draw contour lines of it: useful for fog of wars, liquid effects, paint the ground, etc...",
"version": "0.5.3",
"version": "0.5.4",
"description": [
"It can be helpful for:",
" * Liquid effects like water, blobs or lava ([open the project online](https://editor.gdevelop.io/?project=example://marching-squares-liquids))",
Expand Down Expand Up @@ -353,8 +353,8 @@
" var squareY = Math.floor(y);",
" if (squareX < 0 ||",
" squareY < 0 ||",
" squareX >= this.dimX() ||",
" squareY >= this.dimY()) {",
" squareX >= this.dimX() - 1 ||",
" squareY >= this.dimY() - 1) {",
" return 0;",
" }",
" // Extrapolate",
Expand Down

0 comments on commit 9a452de

Please sign in to comment.