mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-22 17:17:17 +01:00
Fix RayCast2DEditor uninitialized value
node was previously read before being set. Found by Valgrind.
This commit is contained in:
parent
0dc54e449a
commit
41cc0cd554
@ -41,7 +41,7 @@ class RayCast2DEditor : public Control {
|
||||
|
||||
UndoRedo *undo_redo = nullptr;
|
||||
CanvasItemEditor *canvas_item_editor = nullptr;
|
||||
RayCast2D *node;
|
||||
RayCast2D *node = nullptr;
|
||||
|
||||
bool pressed = false;
|
||||
Point2 original_cast_to;
|
||||
|
Loading…
Reference in New Issue
Block a user