Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatACVR authored Dec 21, 2024
1 parent 876b9a2 commit 7711d15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class $modify(PlayerObject) {
if (randomizeOption && (randPercent > randomizeOptionChance))
return;

FMODAudioEngine::sharedEngine()->playEffect("vine-boom.mp3"_spr);

// If action is running stop it
if (RobertTopala->getActionByTag(1)) {
RobertTopala->stopActionByTag(1);
Expand Down Expand Up @@ -83,7 +81,7 @@ class $modify(PlayerObject) {

// Create robert if it doesn't exist in scene
if (!runningScene->getChildByID("robert-topala")) {
RobertTopala = CCSprite::create("house.png"_spr);
RobertTopala = CCSprite::create("RobertTopala.png"_spr);
RobertTopala->setID("robert-topala");
CCSize winSize = CCDirector::get()->getWinSize();

Expand Down

0 comments on commit 7711d15

Please sign in to comment.