summaryrefslogtreecommitdiff
path: root/src/challengeStar.cpp
diff options
context:
space:
mode:
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++;