Ignore:
Timestamp:
Dec 23, 2002, 11:06:27 AM (18 years ago)
Author:
Sam Hocevar
Message:
  • added support for --disable-slang.
  • fixed an overflow in the tunnel update code.
  • fragbomb is now 'f', not 'd'.
  • added a missing call to init_bonus().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/main.c

    r49 r51  
    44 *                 All Rights Reserved
    55 *
    6  *   $Id: main.c,v 1.9 2002/12/23 09:28:37 sam Exp $
     6 *   $Id: main.c,v 1.10 2002/12/23 10:06:27 sam Exp $
    77 *
    88 *   This program is free software; you can redistribute it and/or modify
     
    7070    g->al = malloc(sizeof(aliens));
    7171
     72    init_bonus( g, g->bo );
    7273    init_weapons( g, g->wp );
    7374    init_explosions( g, g->ex );
     
    129130                    }
    130131                    break;
    131                 case 'd':
     132                case 'f':
    132133                    if( g->p->nuke == 0 )
    133134                    {
     
    223224
    224225    free_starfield( g, g->sf );
    225 
    226 #if 0
    227     free_player( p );
    228226    free_tunnel( g->t );
    229 #endif
     227//    free_player( g->p );
    230228}
    231229
Note: See TracChangeset for help on using the changeset viewer.