diff options
Diffstat (limited to 'games/asc/files/patch-source::gamedlg.cpp')
-rw-r--r-- | games/asc/files/patch-source::gamedlg.cpp | 14 |
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]; + |