Skip to content

Commit dfd4209

Browse files
update a point version number. official release 16.0.1 (#55)
* Fix the issue of the length of half time caused by slow_down_factor. * update a point version number. official release 16.0.1
1 parent 1b5076d commit dfd4209

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

ChangeLog

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2021-07-20 Hidehisa Akiyama <hidehisaakiyama@users.noreply.github.com>
2+
3+
* NEWS:
4+
* configure.ac:
5+
- update a minor version number. Official release 16.0.1
6+
7+
* src/serverparam.cpp:
8+
- fix a bug of the length of half time caused by slow_down_factor.
9+
110
2020-02-03 Hidehisa Akiyama <hidehisaakiyama@users.noreply.github.com>
211

312
* NEWS:

NEWS

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[16.0.1]
2+
* Fix a bug of the length of half time caused by slow_down_factor.
3+
14
[16.0.0]
25
* New parameters:
36
- server::illegal_defense_duration (default value: 20)

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
AC_PREREQ(2.61)
55
LT_PREREQ([2.2])
6-
AC_INIT([RCSSServer],[16.0.0],[sserver-admin@users.sf.net],[rcssserver])
6+
AC_INIT([RCSSServer],[16.0.1],[sserver-admin@users.sf.net],[rcssserver])
77

88
#AM_INIT_AUTOMAKE([gnu 1.7.2 check-news dist-bzip2 dist-zip])
99
AM_INIT_AUTOMAKE([gnu 1.7.2 check-news foreign])

src/serverparam.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -552,9 +552,6 @@ ServerParam::setSlowDownFactor()
552552
{
553553
M_slow_down_factor = std::max( 1, M_slow_down_factor );
554554

555-
M_half_time = static_cast< int >( M_raw_half_time * getHalfTimeScaler() + 0.5 );
556-
M_extra_half_time = static_cast< int >( M_raw_extra_half_time * getHalfTimeScaler() + 0.5 );
557-
558555
M_simulator_step *= M_slow_down_factor;
559556
M_sense_body_step *= M_slow_down_factor;
560557
M_send_vi_step *= M_slow_down_factor;
@@ -569,6 +566,9 @@ ServerParam::setSlowDownFactor()
569566
lcm( M_send_vi_step,
570567
lcm( std::max( M_synch_see_offset, 1 ),
571568
( M_synch_mode ? M_synch_offset : 1 ) ) ) ) ) ) );
569+
570+
M_half_time = static_cast< int >( M_raw_half_time * getHalfTimeScaler() + 0.5 );
571+
M_extra_half_time = static_cast< int >( M_raw_extra_half_time * getHalfTimeScaler() + 0.5 );
572572
}
573573

574574
ServerParam::ServerParam( const std::string & progname )

0 commit comments

Comments
 (0)