mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fix compiler warning
This commit is contained in:
parent
e506871383
commit
8b40d8f83c
@ -140,7 +140,7 @@ check_button_events(const DataNodeTransmit &input,
|
||||
const ButtonEventList *button_events = NULL;
|
||||
|
||||
if (input.has_data(_button_events_input)) {
|
||||
DCAST_INTO_R(button_events, input.get_data(_button_events_input).get_ptr(), false);
|
||||
DCAST_INTO_R(button_events, input.get_data(_button_events_input).get_ptr(), NULL);
|
||||
button_events->update_mods(_current_button_state);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user