mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
device: fix small typo, fixes 1571 (#1572)
This commit is contained in:
parent
edf4b7d448
commit
f9a86bced6
@ -69,7 +69,7 @@ do_transmit_data(DataGraphTraverser *, const DataNodeTransmit &,
|
||||
const ButtonEvent &event = bel->get_event(i);
|
||||
if (event._type == ButtonEvent::T_down) {
|
||||
_button_states[event._button] = true;
|
||||
} else if (event._type == ButtonEvent::T_down) {
|
||||
} else if (event._type == ButtonEvent::T_up) {
|
||||
_button_states[event._button] = false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user