hedgewars/CCHandlers.inc
changeset 2372 f3e7a066c2b8
parent 2351 a4a17b8df591
child 2373 e3989519731b
--- a/hedgewars/CCHandlers.inc	Thu Sep 10 12:23:31 2009 +0000
+++ b/hedgewars/CCHandlers.inc	Thu Sep 10 12:42:01 2009 +0000
@@ -682,12 +682,12 @@
 
 procedure chZoomIn(var s: shortstring);
 begin
-if zoom < 4.0 then zoom:= zoom + 0.25;
+if ZoomValue < 3.0 then ZoomValue:= ZoomValue + 0.25;
 end;
 
 procedure chZoomOut(var s: shortstring);
 begin
-if zoom > 0.25 then zoom:= zoom - 0.25;
+if ZoomValue > 0.5 then ZoomValue:= ZoomValue - 0.25;
 end;
 
 procedure chChat(var s: shortstring);