Ignore:
Timestamp:
Aug 11, 2009, 10:56:57 PM (13 years ago)
Author:
Sam Hocevar
Message:

Fix numerous compiler warnings.

File:
1 edited

Legend:

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

    r124 r162  
    8585    dist=31;
    8686    if (y-y1<dist)
     87    {
    8788      if (y-y1<1) dist=0;
    8889      else dist=y-y1;
     90    }
    8991
    9092    if (y2-y<dist)
     93    {
    9194      if (y2-y<1) dist=0;
    9295      else dist=y2-y;
     96    }
    9397
    9498    int c=cmap[dist];
Note: See TracChangeset for help on using the changeset viewer.