summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2011-08-16 22:07:12 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2011-08-16 22:07:12 (GMT)
commit161eb60cfa542a72a76598b3cb99a6b1994d3f48 (patch)
treee1535de4bd4b5493889f21f9b4e1eab40bc27cc9 /src/interface.c
parente2df8e2c16e17222794fbe94dc9b491101cc34df (diff)
downloadpowder-161eb60cfa542a72a76598b3cb99a6b1994d3f48.zip
powder-161eb60cfa542a72a76598b3cb99a6b1994d3f48.tar.gz
Added PGRV and NGRV for positive and negative gravity tools (sortof like air and vac, but with gravity)
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.c b/src/interface.c
index 7286c4d..c77141f 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -1910,7 +1910,7 @@ void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int *dae, int b, int bq
{
for (n = UI_WALLSTART; n<UI_WALLSTART+UI_WALLCOUNT; n++)
{
- if (n!=SPC_AIR&&n!=SPC_HEAT&&n!=SPC_COOL&&n!=SPC_VACUUM&&n!=SPC_WIND)
+ if (n!=SPC_AIR&&n!=SPC_HEAT&&n!=SPC_COOL&&n!=SPC_VACUUM&&n!=SPC_WIND&&n!=SPC_PGRV&&n!=SPC_NGRV)
{
/*if (x-18<=2)
{
@@ -1947,7 +1947,7 @@ void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int *dae, int b, int bq
{
for (n = UI_WALLSTART; n<UI_WALLSTART+UI_WALLCOUNT; n++)
{
- if (n==SPC_AIR||n==SPC_HEAT||n==SPC_COOL||n==SPC_VACUUM||n==SPC_WIND)
+ if (n==SPC_AIR||n==SPC_HEAT||n==SPC_COOL||n==SPC_VACUUM||n==SPC_WIND||n==SPC_PGRV||n==SPC_NGRV)
{
/*if (x-18<=0)
{