diff options
author | ShadowNinja <shadowninja@minetest.net> | 2021-12-01 18:54:12 -0500 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2022-04-08 14:55:21 +0100 |
commit | 7993909fabce4f796ca67b5a8139936667de25df (patch) | |
tree | 2ff9368e3e370ac00e2ae9d17a08ec68b3e426d1 /src/serverenvironment.cpp | |
parent | 88b21a72f18db6a94e58a8047c4dec6160327e73 (diff) | |
download | minetest-7993909fabce4f796ca67b5a8139936667de25df.tar.gz minetest-7993909fabce4f796ca67b5a8139936667de25df.tar.bz2 minetest-7993909fabce4f796ca67b5a8139936667de25df.zip |
Spacing fixes
Diffstat (limited to 'src/serverenvironment.cpp')
-rw-r--r-- | src/serverenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serverenvironment.cpp b/src/serverenvironment.cpp index f3711652c..34a1e33e5 100644 --- a/src/serverenvironment.cpp +++ b/src/serverenvironment.cpp @@ -892,7 +892,7 @@ public: for (ActiveABM &aabm : *m_aabms[c]) { if ((p.Y < aabm.min_y) || (p.Y > aabm.max_y)) continue; - + if (myrand() % aabm.chance != 0) continue; |