summaryrefslogtreecommitdiff
path: root/src/powder.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-09-10 18:37:33 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-09-10 18:37:33 (GMT)
commit16ae9a9b595ae7528344ea46f462f8105a34a79e (patch)
treef17f3efc27c15424dddf60fe7ec752f1131fc52f /src/powder.c
parent49a164b7ba69db5f8e50ee2576d0101a5304d860 (diff)
downloadpowder-16ae9a9b595ae7528344ea46f462f8105a34a79e.zip
powder-16ae9a9b595ae7528344ea46f462f8105a34a79e.tar.gz
Small changes to STOR, prevent setting Ctype to solid from cursor, allow any type when ctype not set and correct discharge location bias
Diffstat (limited to 'src/powder.c')
-rw-r--r--src/powder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powder.c b/src/powder.c
index 4902b75..0854217 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -771,7 +771,7 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a
if (pmap[y][x])
{
if ((
- (pmap[y][x]&0xFF)==PT_STOR||
+ ((pmap[y][x]&0xFF)==PT_STOR&&!(ptypes[t].properties&TYPE_SOLID))||
(pmap[y][x]&0xFF)==PT_CLNE||
(pmap[y][x]&0xFF)==PT_BCLN||
(pmap[y][x]&0xFF)==PT_CONV||