summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-12-28 22:15:55 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-12-28 22:39:59 (GMT)
commitf04577598b48c9e294b102395afc94023df8c92c (patch)
tree8d1eeae02534227bb2f285dcc079e1cd56925a75 /src/main.c
parent2553dac942b9b5c3ad6b834d32c9053d3592faaf (diff)
downloadpowder-f04577598b48c9e294b102395afc94023df8c92c.zip
powder-f04577598b48c9e294b102395afc94023df8c92c.tar.gz
Fix creation of invalid wall tiles by sign tool
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 74074ce..d021e19 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3109,8 +3109,7 @@ int main(int argc, char *argv[])
if (!bq)
add_sign_ui(vid_buf, x, y);
}
-
- if (c==PT_FIGH)
+ else if (c==PT_FIGH)
{
if (!bq)
create_part(-1, x, y, PT_FIGH);