--- deliantra/server/random_maps/treasure.C 2008/09/29 09:04:51 1.43 +++ deliantra/server/random_maps/treasure.C 2009/10/12 14:00:58 1.45 @@ -5,18 +5,19 @@ * Copyright (©) 2001,2007 Mark Wedel & Crossfire Development Team * Copyright (©) 1992,2007 Frank Tore Johansen * - * Deliantra 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. + * Deliantra is free software: you can redistribute it and/or modify it under + * the terms of the Affero 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 . + * You should have received a copy of the Affero GNU General Public License + * and the GNU General Public License along with this program. If not, see + * . * * The authors can be reached via e-mail to */ @@ -119,7 +120,7 @@ { if (wall_blocked (map, x, y)) { - the_key->destroy (true); + the_key->destroy (); return 0; } @@ -145,7 +146,7 @@ keyplace (map, x - 1, y - 1, keycode, NO_PASS_DOORS, 1, RP); } - the_key->destroy (true); + the_key->destroy (); return 1; } } @@ -333,7 +334,7 @@ int i = find_first_free_spot (the_chest, map, x, y); // this call uses the main rng if (i == -1) { - the_chest->destroy (true); + the_chest->destroy (); return NULL; } @@ -676,7 +677,7 @@ object *next = tmp->above; if (tmp->flag [FLAG_ALIVE]) - tmp->head_ ()->destroy (true); + tmp->head_ ()->destroy (); tmp = next; } @@ -826,7 +827,7 @@ new_door->face = door->face; new_door->x = door->x; new_door->y = door->y; - door->destroy (true); + door->destroy (); doorlist[i] = new_door; insert_ob_in_map (new_door, map, NULL, 0); new_door->slaying = format ("RMG-%d-%d", (int)rmg_rndm (1000000000), (int)rmg_rndm (1000000000)); @@ -852,7 +853,7 @@ door->face = wallface->face; - wallface->destroy (true); + wallface->destroy (); } } }