diff options
| author | Rémi Verschelde | 2017-01-14 18:03:38 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-18 21:14:33 +0100 |
| commit | dbf013757658ad48bb61242ed69ad4145a946863 (patch) | |
| tree | 578688f4bbdd6affa4239558c9251eea26a61611 /modules/gridmap/grid_map.cpp | |
| parent | 75bf6a997875cab08866eb9e8ee6c75923fe8c96 (diff) | |
| download | godot-dbf013757658ad48bb61242ed69ad4145a946863.tar.gz godot-dbf013757658ad48bb61242ed69ad4145a946863.tar.zst godot-dbf013757658ad48bb61242ed69ad4145a946863.zip | |
Style: Fix statements ending with ';;'
(cherry picked from commit f44ee891beaad397481dd88da41cb80e6539774f)
Diffstat (limited to 'modules/gridmap/grid_map.cpp')
| -rw-r--r-- | modules/gridmap/grid_map.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/gridmap/grid_map.cpp b/modules/gridmap/grid_map.cpp index 7d3991b12..22e79f7fc 100644 --- a/modules/gridmap/grid_map.cpp +++ b/modules/gridmap/grid_map.cpp @@ -65,7 +65,7 @@ bool GridMap::_set(const StringName& p_name, const Variant& p_value) { int amount=cells.size(); DVector<int>::Read r = cells.read(); ERR_FAIL_COND_V(amount&1,false); // not even - cell_map.clear();; + cell_map.clear(); for(int i=0;i<amount/3;i++) { @@ -90,7 +90,7 @@ bool GridMap::_set(const StringName& p_name, const Variant& p_value) { int amount=cells.size(); DVector<int>::Read r = cells.read(); ERR_FAIL_COND_V(amount%3,false); // not even - cell_map.clear();; + cell_map.clear(); for(int i=0;i<amount/3;i++) { IndexKey ik; @@ -123,7 +123,7 @@ bool GridMap::_set(const StringName& p_name, const Variant& p_value) { Octant &g = *octant_map[ok]; g.baked=b; - g.bake_instance=VS::get_singleton()->instance_create();; + g.bake_instance=VS::get_singleton()->instance_create(); VS::get_singleton()->instance_set_base(g.bake_instance,g.baked->get_rid()); VS::get_singleton()->instance_geometry_set_baked_light(g.bake_instance,baked_light_instance?baked_light_instance->get_baked_light_instance():RID()); } @@ -908,7 +908,7 @@ void GridMap::_octant_bake(const OctantKey &p_key, const Ref<TriangleMesh>& p_tm if (V) V=V->next(); else - V=st->get_vertex_array().front();; + V=st->get_vertex_array().front(); int lc = p_lights.size(); const BakeLight* bl = p_lights.ptr(); float ofs = cell_size*0.02; |
