about summary refs log tree commit diff
path: root/src/game/editor
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/editor')
-rw-r--r--src/game/editor/ed_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp
index efdd823e..b62233dc 100644
--- a/src/game/editor/ed_editor.cpp
+++ b/src/game/editor/ed_editor.cpp
@@ -601,10 +601,10 @@ static void do_toolbar(RECT toolbar)
 		editor.zoom_level -= 50;
 		
 	if(inp_key_presses(KEY_MOUSE_WHEEL_UP))
-		editor.zoom_level -= 20.0f;
+		editor.zoom_level -= 20;
 		
 	if(inp_key_presses(KEY_MOUSE_WHEEL_DOWN))
-		editor.zoom_level += 20.0f;
+		editor.zoom_level += 20;
 	
 	if(editor.zoom_level < 50)
 		editor.zoom_level = 50;