Ignore:
Timestamp:
01/20/12 01:49:16 (13 years ago)
Author:
atzm
Message:

fixed memory leak (bullet not vanished)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pycodeshooter/trunk/shooter/trooper.js

    r112 r113  
    144144                this.bullets[i].next(); 
    145145 
    146                 if (this.bullets[i].vanished()) 
     146                if (this.bullets[i].vanished(this.w, this.h)) 
    147147                    delIdx.push(i); 
    148148            } 
Note: See TracChangeset for help on using the changeset viewer.