projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ee5c16
)
Cleaned up code slop in bonus_block.cpp introduced in commit f7f40c1
author
LMH
<lmh.0013@gmail.com>
Mon, 20 Feb 2012 20:50:56 +0000
(10:50 -1000)
committer
LMH
<lmh.0013@gmail.com>
Mon, 20 Feb 2012 20:50:56 +0000
(10:50 -1000)
src/object/bonus_block.cpp
patch
|
blob
|
history
diff --git
a/src/object/bonus_block.cpp
b/src/object/bonus_block.cpp
index
93e944c
..
e11c7de
100644
(file)
--- a/
src/object/bonus_block.cpp
+++ b/
src/object/bonus_block.cpp
@@
-217,13
+217,11
@@
BonusBlock::try_open(Player *player)
break;
case CONTENT_CUSTOM:
- {
- SpecialRiser* riser = new SpecialRiser(get_pos(), object);
- object = 0;
- sector->add_object(riser);
- sound_manager->play("sounds/upgrade.wav");
- break;
- }
+ SpecialRiser* riser = new SpecialRiser(get_pos(), object);
+ object = 0;
+ sector->add_object(riser);
+ sound_manager->play("sounds/upgrade.wav");
+ break;
case CONTENT_SCRIPT:
if(script != "") {