summaryrefslogtreecommitdiff
path: root/games/asc/files/patch-source::gamedlg.cpp
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-10-18 16:36:22 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-10-18 16:36:22 +0000
commit1b11d98cb82c6541e588d9e32f01ae4992114be2 (patch)
treea0983b43ecbe5c0c8bf45b2ae36dceabb667f797 /games/asc/files/patch-source::gamedlg.cpp
parentCatch up with some not-so-recent VM changes to make vmware2 work (diff)
Update to 1.10.2.
Notes
Notes: svn path=/head/; revision=68268
Diffstat (limited to 'games/asc/files/patch-source::gamedlg.cpp')
-rw-r--r--games/asc/files/patch-source::gamedlg.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/asc/files/patch-source::gamedlg.cpp b/games/asc/files/patch-source::gamedlg.cpp
new file mode 100644
index 000000000000..588886467472
--- /dev/null
+++ b/games/asc/files/patch-source::gamedlg.cpp
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- source/gamedlg.cpp 2002/10/18 12:57:12 1.2
++++ source/gamedlg.cpp 2002/10/18 12:57:38
+@@ -3794,7 +3794,7 @@
+ int step = ( target->service[displayed[mp]].maxAmount - target->service[displayed[mp]].minAmount ) / 100;
+ if ( step == 0 )
+ step = 1;
+- step = int( pow ( 10, int ( log10 ( (double)step ))));
++ step = int( pow ( (double)10, int ( log10 ( (double)step ))));
+
+ oldpos[mp] = newpos[mp];
+