From e1cd3cc1809522294e1d0c50965b48898b161209 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 11 Oct 2011 00:25:43 +0100 Subject: [PATCH] Fix erronous assignment and add MaksProg to contributors list --- src/main.c | 2 +- src/powder.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index a83ba3eaf..97f4d383c 100644 --- a/src/main.c +++ b/src/main.c @@ -153,7 +153,7 @@ static const char *it_msg = "\n" "Contributors: \bgStanislaw K Skowronek (\brhttp://powder.unaligned.org\bg, \bbirc.unaligned.org #wtf\bg),\n" "\bgSimon Robertshaw, Skresanov Savely, cracker64, Catelite, Bryan Hoyle, Nathan Cousins, jacksonmj,\n" - "\bgLieuwe Mosch, Anthony Boot, Matthew Miller\n" + "\bgLieuwe Mosch, Anthony Boot, Matthew Miller, MaksProg\n" "\n" "\bgTo use online features such as saving, you need to register at: \brhttp://powdertoy.co.uk/Register.html" ; diff --git a/src/powder.c b/src/powder.c index dad1f6e4d..5547ddd08 100644 --- a/src/powder.c +++ b/src/powder.c @@ -847,7 +847,7 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a if (t==PT_LIGH) { parts[i].tmp=270; - if (p=-2) + if (p==-2) parts[i].tmp2=4; } if (t==PT_SOAP)