Ignore:
Timestamp:
Mar 2, 2008, 5:07:11 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Get rid of game registration handling. All versions of Abuse are now registered, I guess.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/innet.cpp

    r58 r61  
    4646base_memory_struct local_base;
    4747net_address *net_server=NULL;
    48 extern int registered;
    4948net_protocol *prot=NULL;
    5049net_socket *comm_sock=NULL,*game_sock=NULL;
     
    6665        if (!main_net_cfg)
    6766                main_net_cfg=new net_configuration;
    68 
    69         if (!registered)
    70                 return 0;
    7167
    7268        for (i=1;i<argc;i++)
     
    416412    }
    417413
    418     // maker sure the two games are both registered or unregistered or sync problems
    419     // will occur.
    420 
    421     if (reg && !registered)
    422     {
    423       fprintf(stderr, "%s", symbol_str("net_not_reg"));
    424       delete sock;
    425       return 0;
    426     }
    427 
    428     if (!reg && registered)
     414    // make sure the server is registered or sync problems will occur
     415    if (!reg)
    429416    {
    430417      fprintf(stderr, "%s", symbol_str("server_not_reg"));
Note: See TracChangeset for help on using the changeset viewer.