diff --git a/direct/src/distributed/cConnectionRepository.I b/direct/src/distributed/cConnectionRepository.I index 897803a794..659583adfc 100644 --- a/direct/src/distributed/cConnectionRepository.I +++ b/direct/src/distributed/cConnectionRepository.I @@ -424,7 +424,7 @@ set_time_warning(float time_warning) { // Access: Published // Description: Returns the current setting of the time_warning field. //////////////////////////////////////////////////////////////////// -INLINE bool CConnectionRepository:: +INLINE float CConnectionRepository:: get_time_warning() const { return _time_warning; } diff --git a/direct/src/distributed/cConnectionRepository.h b/direct/src/distributed/cConnectionRepository.h index c372937868..d7adac4714 100644 --- a/direct/src/distributed/cConnectionRepository.h +++ b/direct/src/distributed/cConnectionRepository.h @@ -164,7 +164,7 @@ PUBLISHED: INLINE bool get_verbose() const; INLINE void set_time_warning(float time_warning); - INLINE bool get_time_warning() const; + INLINE float get_time_warning() const; private: #ifdef HAVE_PYTHON