aboutsummaryrefslogtreecommitdiff
path: root/levels.h
diff options
context:
space:
mode:
Diffstat (limited to 'levels.h')
-rw-r--r--levels.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/levels.h b/levels.h
index 4f3e4ec..59b50d3 100644
--- a/levels.h
+++ b/levels.h
@@ -111,7 +111,7 @@ void Level1Part3()
{
frameleft=AMinute;
if (towcnt!=50&&towcnt!=0)return ClearAll();
- DisableAllTower=false;bulcnt=0;memset(bullet,0,sizeof(bullet));
+ DisableAllTower=false;bulcnt=0;free(bullet);
if (IfShowTip)
{
IfShowTip=false;
@@ -160,7 +160,7 @@ void Level2Part0()
ClearAll();
return;
}
- bulcnt=0;memset(bullet,0,sizeof(bullet));
+ bulcnt=0;free(bullet);
DisableAllTower=false;
if (IfShowTip)
{
@@ -339,7 +339,7 @@ void Level3Part0()
ClearAll();
return;
}
- bulcnt=0;memset(bullet,0,sizeof(bullet));
+ bulcnt=0;free(bullet);
DisableAllTower=false;
if (IfShowTip)
{