summaryrefslogtreecommitdiff
path: root/src/effects.cpp
diff options
context:
space:
mode:
authorStephen Simpson <megazig@gmail.com>2011-10-12 16:46:53 -0500
committerStephen Simpson <megazig@gmail.com>2011-10-12 16:46:53 -0500
commitd7c926b2e0906e225adc2a330d19a4806b646ecc (patch)
tree4fba9fe96bd6c6d6f25446bd8cd99f5101504edd /src/effects.cpp
parentc26f603b534804e606fad22f4998e68bbefa1e9d (diff)
downloadkamek-d7c926b2e0906e225adc2a330d19a4806b646ecc.tar.gz
kamek-d7c926b2e0906e225adc2a330d19a4806b646ecc.zip
fixed definition for SpawnEffect
Diffstat (limited to '')
-rw-r--r--src/effects.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects.cpp b/src/effects.cpp
index 7e2e080..68294a1 100644
--- a/src/effects.cpp
+++ b/src/effects.cpp
@@ -1004,7 +1004,7 @@ const char* effects_name_list [] = {
"Wm_ob_treasureboxwait_b"
};
-extern "C" void SpawnEffect(const char*, int, Vec*);
+extern "C" void SpawnEffect(const char*, int, Vec*, int, int);
// Just call CreateEffect(this, number_between_0_and_1000);
bool CreateEffect(dEn_c* enemy, int effect_num) {
@@ -1014,7 +1014,7 @@ bool CreateEffect(dEn_c* enemy, int effect_num) {
return false;
Vec tempVec = (Vec){ enemy->pos.x, enemy->pos.y, 5500.0 };
const char* effect_name = effects_name_list[effect_num];
- SpawnEffect(effect_name, 0, &tempVec);
+ SpawnEffect(effect_name, 0, &tempVec, 0, 0);
return true;
}