Added some obvious errors explanations
This commit is contained in:
parent
e9f49a6d5a
commit
17732fe698
125 changed files with 435 additions and 458 deletions
|
|
@ -216,7 +216,7 @@ Size2 TileMap::get_cell_size() const {
|
|||
|
||||
void TileMap::set_quadrant_size(int p_size) {
|
||||
|
||||
ERR_FAIL_COND(p_size < 1);
|
||||
ERR_FAIL_COND_MSG(p_size < 1, "Quadrant size cannot be smaller than 1.");
|
||||
|
||||
_clear_quadrants();
|
||||
quadrant_size = p_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue