mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 15:53:55 -04:00
device: Replace erroneous && with ||.
This commit is contained in:
parent
2960ae60e2
commit
28711814e7
@ -54,7 +54,7 @@ void InputDeviceNode::
|
||||
do_transmit_data(DataGraphTraverser *, const DataNodeTransmit &,
|
||||
DataNodeTransmit &output) {
|
||||
|
||||
if (_device == nullptr && !_device->is_connected()) {
|
||||
if (_device == nullptr || !_device->is_connected()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user