diff options
Diffstat (limited to 'src/elements/plut.c')
| -rw-r--r-- | src/elements/plut.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/elements/plut.c b/src/elements/plut.c deleted file mode 100644 index e453b56..0000000 --- a/src/elements/plut.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include <element.h> - -int update_PLUT(UPDATE_FUNC_ARGS) { - if (1>rand()%100 && ((int)(5.0f*pv[y/CELL][x/CELL]))>(rand()%1000)) - { - create_part(i, x, y, PT_NEUT); - } - return 0; -} |
