View Single Post
Old May 28, 2009, 07:39   #4
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,422
Donated: $40
Pete Mack is on a distinguished road
I can write it more efficiently, if you like. The if statement is unnecessarily verbose.
Code:
         (n > 0) && (scr_cc[x] == (char) -1) && (scr_aa[x] == 255) && (x--, n++);
Pete Mack is online now   Reply With Quote