From ef6ced67013c19bd3b827e22232bd2500447dd4c Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sun, 31 Dec 2017 15:32:47 +0100 Subject: [PATCH] Fix GridWarpSurface non-void functions returning void --- src/Surfaces/GridWarpSurface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Surfaces/GridWarpSurface.cpp b/src/Surfaces/GridWarpSurface.cpp index 5590915..1b98c0e 100644 --- a/src/Surfaces/GridWarpSurface.cpp +++ b/src/Surfaces/GridWarpSurface.cpp @@ -55,11 +55,13 @@ int GridWarpSurface::getGridCols(){ int GridWarpSurface::setGridRows(int r){ _gridRows = r; createGridMesh(); + return r; } int GridWarpSurface::setGridCols(int c){ _gridCols = c; createGridMesh(); + return c; } bool GridWarpSurface::hitTest(Vec2 p){