diff options
author | George Marques <george@gmarqu.es> | 2023-02-21 11:07:43 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2023-02-21 11:12:45 -0300 |
commit | 0866e6af2d16c48c8e3dcfd6c0b78974f2c11043 (patch) | |
tree | 1af9866f3d3c9627c5775ea41df87219377007f0 /doc/classes | |
parent | 7e79aead99a53ee7cdf383add9a6a2aea4f15beb (diff) |
GDScript: Avoid validated division operation to test for zero
The validated operations for integer division and modulo do not check
for division by zero. This avoids validated operation in these cases to
make sure the check is performed and avoid crashing the engine.
Diffstat (limited to 'doc/classes')
0 files changed, 0 insertions, 0 deletions