ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/main.C
(Generate patch)

Comparing deliantra/server/server/main.C (file contents):
Revision 1.25 by root, Tue Sep 12 23:22:32 2006 UTC vs.
Revision 1.27 by root, Thu Sep 14 22:34:04 2006 UTC

16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 20
21 The authors can be reached via e-mail at crossfire-devel@real-time.com 21 The authors can be reached via e-mail at <crossfire@schmorp.de>
22*/ 22*/
23 23
24#include <global.h> 24#include <global.h>
25#include <object.h> 25#include <object.h>
26#include <tod.h> 26#include <tod.h>
1100 1100
1101void 1101void
1102process_events (mapstruct *map) 1102process_events (mapstruct *map)
1103{ 1103{
1104 object *op; 1104 object *op;
1105 object *marker = get_object ();
1106 tag_t tag; 1105 tag_t tag;
1106
1107 static object *marker;
1108
1109 if (!marker)
1110 marker = get_object ();
1107 1111
1108 process_players1 (map); 1112 process_players1 (map);
1109 1113
1110 marker->active_next = active_objects; 1114 marker->active_next = active_objects;
1111 1115
1229 marker->active_prev->active_next = NULL; 1233 marker->active_prev->active_next = NULL;
1230 else 1234 else
1231 active_objects = NULL; 1235 active_objects = NULL;
1232 1236
1233 process_players2 (map); 1237 process_players2 (map);
1234
1235 free_object (marker);
1236} 1238}
1237 1239
1238void 1240void
1239clean_tmp_files (void) 1241clean_tmp_files (void)
1240{ 1242{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines