summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsavask <savask@yandex.ru>2011-08-11 10:08:43 (GMT)
committer savask <savask@yandex.ru>2011-08-12 07:52:02 (GMT)
commit86e9a6eeff5c35dc42844502200e1614d1515b71 (patch)
tree05dfa8f58d6b0b35d68b664ac663c7014b1a9284 /src
parentd31b140f8e7b0a692ec91c5b161b75bf39016085 (diff)
downloadpowder-86e9a6eeff5c35dc42844502200e1614d1515b71.zip
powder-86e9a6eeff5c35dc42844502200e1614d1515b71.tar.gz
Fixed a bug where you were able to create multiply stickmans by copying it.
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e403b3d..ab564eb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -714,7 +714,7 @@ int parse_save(void *save, int size, int replace, int x0, int y0, unsigned char
j = PT_DUST;//goto corrupt;
}
gol[x][y]=0;
- if (j)// && !(player[27] == 1 && j==PT_STKM))
+ if (j && !(player[27] == 1 && j==PT_STKM) && !(player2[27] == 1 && j==PT_STKM2)) //Don't comment this, it's needed
{
if (pmap[y][x] && (pmap[y][x]>>8)<NPART)
{