From f564bb97656a930867fec4756aaf5db88299f898 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Wed, 15 Oct 2008 09:00:16 +0000 Subject: [PATCH] Editor bugfix: poweruppos now placable again --- data/levels.dat | 1 + edit.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/levels.dat b/data/levels.dat index 1ff68e6..20d2dd4 100644 --- a/data/levels.dat +++ b/data/levels.dat @@ -25,3 +25,4 @@ 101,level101.dat,Sand Castle 102,level102.dat,Diving Pool 99,level99.dat,TEST LEVEL +103,level103.dat,NEW LEVEL diff --git a/edit.c b/edit.c index 9ddc4c6..6530d57 100644 --- a/edit.c +++ b/edit.c @@ -1053,7 +1053,7 @@ int isplacablesprite(int sid) { return B_FALSE; } - if (iseffect(sid)) { + if (iseffect(sid) && (sid != P_POWERUPPOS)) { return B_FALSE; } if (iscard(sid)) {