Browse Source

get rid of cl warning

georges 25 years ago
parent
commit
d9093d16dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/gobj/geomSprite.cxx

+ 1 - 1
panda/src/gobj/geomSprite.cxx

@@ -118,7 +118,7 @@ fillin(DatagramIterator& scan, BamReader* manager) {
   READ_PTA(manager, scan, IPD_float::read_datagram, _y_texel_ratio);
   _x_bind_type = (GeomBindType) scan.get_uint8();
   _y_bind_type = (GeomBindType) scan.get_uint8();
-  _alpha_disable = (bool) scan.get_uint8();
+  _alpha_disable = (scan.get_uint8() !=0);
   manager->read_pointer(scan, this);
 }