Fix virtual methods in InputEventKey.
This fixes a lot of problems with key input in the engine.
This commit is contained in:
@ -229,7 +229,7 @@ void InputEventKey::set_pressed(bool p_pressed) {
|
||||
pressed = p_pressed;
|
||||
}
|
||||
|
||||
bool InputEventKey::is_pressed() {
|
||||
bool InputEventKey::is_pressed() const {
|
||||
|
||||
return pressed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user