diff options
| author | Cracker64 <cracker642@gmail.com> | 2010-11-30 03:42:36 (GMT) |
|---|---|---|
| committer | Cracker64 <cracker642@gmail.com> | 2010-11-30 03:42:36 (GMT) |
| commit | bb16ffa2bbef12d8a8b1c151b3d987e272420675 (patch) | |
| tree | f0d135f964f0f111fbd686fd4507b6f6f5395be1 /src/main.c | |
| parent | 77a17ecaeedb2e7e505527848e8bf4d1465ac529 (diff) | |
| download | powder-bb16ffa2bbef12d8a8b1c151b3d987e272420675.zip powder-bb16ffa2bbef12d8a8b1c151b3d987e272420675.tar.gz | |
PUMP is now powered and blue, fixed some wall probems, portals are more random, maybe fixed love for mac?
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1895,7 +1895,7 @@ int main(int argc, char *argv[]) { c = (b&1) ? sl : sr; su = c; - if(c==126) + if(c==WL_SIGN+100) { if(!bq) add_sign_ui(vid_buf, x, y); @@ -1905,7 +1905,7 @@ int main(int argc, char *argv[]) if(lm == 1) { xor_line(lx, ly, x, y, vid_buf); - if(c==127 && lx>=0 && ly>=0 && lx<XRES && ly<YRES && bmap[ly/CELL][lx/CELL]==WL_FAN) + if(c==WL_FAN+100 && lx>=0 && ly>=0 && lx<XRES && ly<YRES && bmap[ly/CELL][lx/CELL]==WL_FAN) { nfvx = (x-lx)*0.005f; nfvy = (y-ly)*0.005f; @@ -2022,7 +2022,7 @@ int main(int argc, char *argv[]) su = c; if(lm == 1) { - if(c!=127 || lx<0 || ly<0 || lx>=XRES || ly>=YRES || bmap[ly/CELL][lx/CELL]!=WL_FAN) + if(c!=WL_FAN+100 || lx<0 || ly<0 || lx>=XRES || ly>=YRES || bmap[ly/CELL][lx/CELL]!=WL_FAN) create_line(lx, ly, x, y, bsx, bsy, c); } else |
