summaryrefslogtreecommitdiff
path: root/src/challengeStar.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-03-22 21:06:44 -0500
committerColin Noga <Tempus@chronometry.ca>2012-03-22 21:06:44 -0500
commit6739d68df74fabb94f1525f5f6ae8ff3dfe0d907 (patch)
tree03fd8588a75191c040e9454cd07b34489b7c0a89 /src/challengeStar.cpp
parent0ae957fcb9d1cb69602bf937c5111a184c3fbc79 (diff)
downloadkamek-6739d68df74fabb94f1525f5f6ae8ff3dfe0d907.tar.gz
kamek-6739d68df74fabb94f1525f5f6ae8ff3dfe0d907.zip
stuff
Diffstat (limited to '')
-rw-r--r--src/challengeStar.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/challengeStar.cpp b/src/challengeStar.cpp
index dda35cc..03b4089 100644
--- a/src/challengeStar.cpp
+++ b/src/challengeStar.cpp
@@ -51,10 +51,8 @@ void dChallengeStar::playerCollision(ActivePhysics *apThis, ActivePhysics *apOth
GlobalStarsCollected--;
if (GlobalStarsCollected == 0) {
EventTable->events |= this->eventFlag;
- OSReport("All stars spawned collected, triggered Event!\n");
}
- OSReport("%d Stars Collected\n", GlobalStarsCollected);
this->Delete(1);
}
@@ -74,7 +72,7 @@ dChallengeStar *dChallengeStar::build() {
int dChallengeStar::onCreate() {
char die = this->settings & 0xF;
- if (GetSpecificPlayerActor(die) == 0) { this->Delete(1); }
+ if (GetSpecificPlayerActor(die) == 0) { this->Delete(1); return; }
GlobalStarsCollected++;