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/tunnel.c

    r49 r51  
    44 *                 All Rights Reserved
    55 *
    6  *   $Id: tunnel.c,v 1.5 2002/12/23 09:28:37 sam Exp $
     6 *   $Id: tunnel.c,v 1.6 2002/12/23 10:06:27 sam Exp $
    77 *
    88 *   This program is free software; you can redistribute it and/or modify
     
    4040    if( t->w >= g->w )
    4141    {
    42         t->left[0] = -10;
    43         t->right[0] = g->w + 10;
    4442        for( i = 0; i < g->h; i++ )
    4543        {
     
    8280
    8381    /* Slide tunnel one block vertically */
    84     for( i = t->h; i--; )
     82    for( i = t->h - 1; i--; )
    8583    {
    8684        t->left[i+1] = t->left[i];
Note: See TracChangeset for help on using the changeset viewer.