about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-10-09 13:33:33 +0200
committeroy <Tom_Adams@web.de>2010-10-09 13:33:33 +0200
commitab2df146410e47bc4d30d1088b383aac03766d6f (patch)
tree4c4e1b3373d0d3db7843bb2bc174d031463d85e2 /src/game
parent85b9c60158adee3aae6d02a9e5529ea57ed39611 (diff)
downloadzcatch-ab2df146410e47bc4d30d1088b383aac03766d6f.tar.gz
zcatch-ab2df146410e47bc4d30d1088b383aac03766d6f.zip
made INT_STEP properties in the editor just change by 1
Diffstat (limited to 'src/game')
-rw-r--r--src/game/editor/ed_editor.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp
index 5f4347ec..270f3efd 100644
--- a/src/game/editor/ed_editor.cpp
+++ b/src/game/editor/ed_editor.cpp
@@ -1592,18 +1592,12 @@ int CEditor::DoProperties(CUIRect *pToolBox, CProperty *pProps, int *pIds, int *
 
 			if(DoButton_ButtonDec(&pIds[i], 0, 0, &Dec, 0, Localize("Decrease")))
 			{
-				if(Input()->KeyPressed(KEY_LSHIFT) || Input()->KeyPressed(KEY_RSHIFT))
-					*pNewVal = pProps[i].m_Value-5;
-				else
-					*pNewVal = pProps[i].m_Value-1;
+				*pNewVal = pProps[i].m_Value-1;
 				Change = i;
 			}
 			if(DoButton_ButtonInc(((char *)&pIds[i])+1, 0, 0, &Inc, 0, Localize("Increase")))
 			{
-				if(Input()->KeyPressed(KEY_LSHIFT) || Input()->KeyPressed(KEY_RSHIFT))
-					*pNewVal = pProps[i].m_Value+5;
-				else
-					*pNewVal = pProps[i].m_Value+1;
+				*pNewVal = pProps[i].m_Value+1;
 				Change = i;
 			}
 		}