Fix setter type.

This commit is contained in:
Relintai 2022-07-31 13:31:14 +02:00
parent 27eafa074e
commit f5b3262bde
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ void PropDataTiledWall::set_data(const Ref<TiledWallData> &data) {
bool PropDataTiledWall::get_collision() const { bool PropDataTiledWall::get_collision() const {
return _collision; return _collision;
} }
void PropDataTiledWall::set_collision(const int value) { void PropDataTiledWall::set_collision(const bool value) {
_collision = value; _collision = value;
} }

View File

@ -41,7 +41,7 @@ public:
void set_data(const Ref<TiledWallData> &data); void set_data(const Ref<TiledWallData> &data);
bool get_collision() const; bool get_collision() const;
void set_collision(const int value); void set_collision(const bool value);
bool _processor_handles(Node *node); bool _processor_handles(Node *node);
void _processor_process(Ref<PropData> prop_data, Node *node, const Transform &transform); void _processor_process(Ref<PropData> prop_data, Node *node, const Transform &transform);