summaryrefslogtreecommitdiff
path: root/src/challengeStar.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-03-23 04:21:35 +0100
committerTreeki <treeki@gmail.com>2012-03-23 04:21:35 +0100
commit393be37f168ba7bca4d471993aaf0899a4afc16b (patch)
tree410d3fdebc599d3e43eb6e3f6038fb6d099581eb /src/challengeStar.cpp
parent6739d68df74fabb94f1525f5f6ae8ff3dfe0d907 (diff)
downloadkamek-393be37f168ba7bca4d471993aaf0899a4afc16b.tar.gz
kamek-393be37f168ba7bca4d471993aaf0899a4afc16b.zip
a really hacky fix for the clown crash
Diffstat (limited to 'src/challengeStar.cpp')
-rw-r--r--src/challengeStar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/challengeStar.cpp b/src/challengeStar.cpp
index 03b4089..ec863f1 100644
--- a/src/challengeStar.cpp
+++ b/src/challengeStar.cpp
@@ -72,7 +72,7 @@ dChallengeStar *dChallengeStar::build() {
int dChallengeStar::onCreate() {
char die = this->settings & 0xF;
- if (GetSpecificPlayerActor(die) == 0) { this->Delete(1); return; }
+ if (GetSpecificPlayerActor(die) == 0) { this->Delete(1); return 2; }
GlobalStarsCollected++;