summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-12-10 19:03:31 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-12-10 19:03:31 (GMT)
commit03352ca1f4115eff5efac7547c3e507bce656496 (patch)
tree58f13bbe5039efdec64c17a2394df0250ef1277b /includes
parenteec2363dc00f59aae2a9716fa963716b920c8bf3 (diff)
downloadpowder-03352ca1f4115eff5efac7547c3e507bce656496.zip
powder-03352ca1f4115eff5efac7547c3e507bce656496.tar.gz
Fix memory leaks, allow changing of element name (To fix: element names in some arrays out of sync)
Diffstat (limited to 'includes')
-rw-r--r--includes/powder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/powder.h b/includes/powder.h
index 31d57fa..f6a7b37 100644
--- a/includes/powder.h
+++ b/includes/powder.h
@@ -438,7 +438,7 @@ void STKM_interact(playerst* playerp, int i, int x, int y);
struct part_type
{
- const char *name;
+ char *name;
pixel pcolors;
float advection;
float airdrag;