Browse Source

*** empty log message ***

cxgeorge 23 years ago
parent
commit
0efe52ddba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgui/pgWaitBar.I

+ 1 - 1
panda/src/pgui/pgWaitBar.I

@@ -67,7 +67,7 @@ get_value() const {
 ////////////////////////////////////////////////////////////////////
 INLINE float PGWaitBar:: 
 get_percent() const {
-  return _value / _range * 100.0;
+  return (_value / _range) * 100.0f;
 }
 
 ////////////////////////////////////////////////////////////////////