summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2011-08-16 16:45:44 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2011-08-16 16:45:44 (GMT)
commitad09f3040e7e08bbe2d5b256a2933d148a2a8e3d (patch)
tree8a50f508226747d5521377bf655ca0aac85efaf6 /src/graphics.c
parenta5db1d53da133a78493be443b0ec9094ea3eeb65 (diff)
downloadpowder-ad09f3040e7e08bbe2d5b256a2933d148a2a8e3d.zip
powder-ad09f3040e7e08bbe2d5b256a2933d148a2a8e3d.tar.gz
Revert "Revert "added lua command: tpt.setfpscap(int FPSCap)""
This reverts commit a5db1d53da133a78493be443b0ec9094ea3eeb65.
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index 033d219..14367ae 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -1125,8 +1125,9 @@ int drawtextwrap(pixel *vid, int x, int y, int w, const char *s, int r, int g, i
}
}
}
-#endif
+
return rh;
+ #endif
}
//draws a rectange, (x,y) are the top left coords.