summaryrefslogtreecommitdiff
path: root/src/effects.cpp
diff options
context:
space:
mode:
authorStephen Simpson <megazig@gmail.com>2011-10-12 16:31:43 -0500
committerStephen Simpson <megazig@gmail.com>2011-10-12 16:31:43 -0500
commitf59f8e2f4c564c6fc4566abc4134bc5a0357bb6a (patch)
treea0b2b95666fe7e8efb63be3baf620f2951cdf4af /src/effects.cpp
parent5c69d55088be79ca6965bf7b7fd15bed988a4662 (diff)
downloadkamek-f59f8e2f4c564c6fc4566abc4134bc5a0357bb6a.tar.gz
kamek-f59f8e2f4c564c6fc4566abc4134bc5a0357bb6a.zip
fixed missing [] and void
Diffstat (limited to 'src/effects.cpp')
-rw-r--r--src/effects.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects.cpp b/src/effects.cpp
index 62f2149..7e2e080 100644
--- a/src/effects.cpp
+++ b/src/effects.cpp
@@ -1,6 +1,6 @@
#include "effects.h"
-const char* effects_name_list = {
+const char* effects_name_list [] = {
"Wm_mr_2dlandsmoke",
"Wm_mr_cmnsndlandsmk",
"Wm_mr_cmnlandsmoke",
@@ -1004,7 +1004,7 @@ const char* effects_name_list = {
"Wm_ob_treasureboxwait_b"
};
-extern "C" SpawnEffect(const char*, int, Vec*);
+extern "C" void SpawnEffect(const char*, int, Vec*);
// Just call CreateEffect(this, number_between_0_and_1000);
bool CreateEffect(dEn_c* enemy, int effect_num) {