diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-07-12 18:06:59 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-07-12 18:06:59 (GMT) |
| commit | 4c685c76652b15636fed5168741b99431e24c470 (patch) | |
| tree | 957b70afc1f821e72bc2eae359b3a48b88b21f8c /src | |
| parent | 965810d5e391b54ed8ed2f73f36dbbdeacf4da9b (diff) | |
| download | powder-4c685c76652b15636fed5168741b99431e24c470.zip powder-4c685c76652b15636fed5168741b99431e24c470.tar.gz | |
Revert variable names for Brush
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3055,7 +3055,7 @@ int main(int argc, char *argv[]) { for (j=-bsy; j<=bsy; j++) for (i=-bsx; i<=bsx; i++) - if (x+i>0 && y+j>0 && x+i<XRES && y+j<YRES && InCurrentBrush(i,j,bsx,bsy)) + if (lx+i>0 && ly+j>0 && lx+i<XRES && ly+j<YRES && InCurrentBrush(i,j,bsx,bsy)) { vx[(ly+j)/CELL][(lx+i)/CELL] += (line_x-lx)*0.002f; vy[(ly+j)/CELL][(lx+i)/CELL] += (line_y-ly)*0.002f; |
