Changeset 21

Show
Ignore:
Timestamp:
12/09/07 08:14:09 (1 year ago)
Author:
charlie137
Message:

Minor change

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/guisterax/src/universe.d

    r17 r21  
    4646        // I am not sure this is the most efficient way it depends on the way SDL 
    4747        // handle blitting surfaces that are not included in the visible screen 
    48         for(int i = 0; i <= 0; ++i) { 
    49             for(int j = 0; j <= 0; ++j) { 
     48        for(int i = -1; i <= 1; ++i) { 
     49            for(int j = -1; j <= 1; ++j) { 
    5050                disp.blit(surf, pos + Vect(i*u.width, j*u.height), x, y, w, h); 
    5151            }