mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
010ef75ebf
commit
5d430a39e9
@ -25,7 +25,7 @@ get_server_name() const {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE bool VrpnClient::
|
||||
is_valid() const {
|
||||
return _connection->doing_okay();
|
||||
return (_connection->doing_okay() != 0);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@ -36,7 +36,7 @@ is_valid() const {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE bool VrpnClient::
|
||||
is_connected() const {
|
||||
return _connection->connected();
|
||||
return (_connection->connected() != 0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -25,4 +25,8 @@
|
||||
#include <vrpn_Button.h>
|
||||
#include <vrpn_Dial.h>
|
||||
|
||||
#ifdef sleep
|
||||
#undef sleep
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user