author | Wolfgang Steffens <WolfgangSteff@gmail.com> |
Mon, 14 May 2012 22:14:17 +0200 | |
changeset 7084 | a471de309dcc |
parent 7082 | 17b0892ac794 |
child 7108 | eaef11c0d039 |
--- a/hedgewars/uStore.pas Mon May 14 19:48:34 2012 +0200 +++ b/hedgewars/uStore.pas Mon May 14 22:14:17 2012 +0200 @@ -761,8 +761,11 @@ procedure SetScale(f: GLfloat); begin - cScaleFactor:=f; - UpdateProjection; + if cScaleFactor <> f then + begin + cScaleFactor:=f; + UpdateProjection; + end; end; ////////////////////////////////////////////////////////////////////////////////