diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2011-08-19 23:14:38 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-20 10:29:02 (GMT) |
| commit | a96afc863e814e0652e184614feda4d969ec2f94 (patch) | |
| tree | 4183083f1cc8cbe6f7b3fba1680627b6ffef1410 /src/powder.c | |
| parent | 7d283335d4e0a84c191314c299af70152eec9a77 (diff) | |
| download | powder-a96afc863e814e0652e184614feda4d969ec2f94.zip powder-a96afc863e814e0652e184614feda4d969ec2f94.tar.gz | |
Stickman go through portals
Diffstat (limited to 'src/powder.c')
| -rw-r--r-- | src/powder.c | 44 |
1 files changed, 2 insertions, 42 deletions
diff --git a/src/powder.c b/src/powder.c index 9433aea..36f10e7 100644 --- a/src/powder.c +++ b/src/powder.c @@ -930,27 +930,7 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a parts[i].life = 100; parts[i].ctype = 0; parts[i].temp = ptypes[t].heat; - - player[3] = x-1; //Setting legs positions - player[4] = y+6; - player[5] = x-1; - player[6] = y+6; - - player[7] = x-3; - player[8] = y+12; - player[9] = x-3; - player[10] = y+12; - - player[11] = x+1; - player[12] = y+6; - player[13] = x+1; - player[14] = y+6; - - player[15] = x+3; - player[16] = y+12; - player[17] = x+3; - player[18] = y+12; - + STKM_init_legs(player, i); player[27] = 1; } else @@ -972,27 +952,7 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a parts[i].life = 100; parts[i].ctype = 0; parts[i].temp = ptypes[t].heat; - - player2[3] = x-1; //Setting legs positions - player2[4] = y+6; - player2[5] = x-1; - player2[6] = y+6; - - player2[7] = x-3; - player2[8] = y+12; - player2[9] = x-3; - player2[10] = y+12; - - player2[11] = x+1; - player2[12] = y+6; - player2[13] = x+1; - player2[14] = y+6; - - player2[15] = x+3; - player2[16] = y+12; - player2[17] = x+3; - player2[18] = y+12; - + STKM_init_legs(player2, i); player2[27] = 1; } else |
