summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-12-06 19:32:33 (GMT)
committer Simon <simon@hardwired.org.uk>2010-12-06 19:32:33 (GMT)
commit122babe356fc975f4bd4aa7c9e9ed212a6003d1f (patch)
tree43b5cac3e53af85177e591cfd03f561ec9f80324 /src/interface.c
parent40ab51d79f68eaef88defee0e3cf1de5cfb0b0b0 (diff)
downloadpowder-122babe356fc975f4bd4aa7c9e9ed212a6003d1f.zip
powder-122babe356fc975f4bd4aa7c9e9ed212a6003d1f.tar.gz
Added ARAY, a instant ray that can create holograms and transfer electrical energy
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interface.c b/src/interface.c
index 044b65c..191ddf0 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -1500,7 +1500,7 @@ void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int b, int bq, int mx,
{
if(n!=SPC_AIR&&n!=SPC_HEAT&&n!=SPC_COOL&&n!=SPC_VACUUM)
{
- if(x-18<=20)
+ if(x-18<=2)
{
x = XRES-BARSIZE-18;
y += 19;
@@ -1537,7 +1537,7 @@ void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int b, int bq, int mx,
{
if(n==SPC_AIR||n==SPC_HEAT||n==SPC_COOL||n==SPC_VACUUM)
{
- if(x-18<=20)
+ if(x-18<=0)
{
x = XRES-BARSIZE-18;
y += 19;
@@ -1571,7 +1571,7 @@ void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int b, int bq, int mx,
{
if(ptypes[n].menusection==i&&ptypes[n].menu==1)
{
- if(x-18<=20)
+ if(x-18<=0)
{
x = XRES-BARSIZE-18;
y += 19;
@@ -1608,7 +1608,7 @@ void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int b, int bq, int mx,
{
if(ptypes[n].menusection==i&&ptypes[n].menu==1)
{
- if(x-18<=20)
+ if(x-18<=0)
{
x = XRES-BARSIZE-18;
y += 19;