Changeset 86


Ignore:
Timestamp:
06/03/09 15:29:33 (10 years ago)
Author:
maximinus_parpg
Message:

Ok, now it really works :P

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/utilities/gfxsplit.py

    r85 r86  
    9696        if((t[1] != 0)and(last_x == True)): 
    9797            # switchback, so this tile must fill the whole width 
     98            pass 
    9899        if(t[1] == 0): 
    99100            last_x = False 
     
    162163        return False         
    163164    # check the length of the data, make sure it's long enough... 
    164     if((TILE_WIDTH / 2) * (len(data) + 1)>image.get_width)): 
     165    if((TILE_WIDTH / 2) * (len(data) + 1)>image.get_width()): 
    165166        print "Error: Target GFX too narrow" 
    166167        return False    
Note: See TracChangeset for help on using the changeset viewer.