Navigation Menu

Skip to content

Commit

Permalink
Fix switch from "skybox" to other sky types as triggered by player:se…
Browse files Browse the repository at this point in the history
…t_sky()
  • Loading branch information
celeron55 committed Jun 8, 2014
1 parent f70e055 commit 1cea2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Expand Up @@ -2532,7 +2532,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
else if (event.type == CE_SET_SKY) {
sky->setVisible(false);
if(skybox){
skybox->drop();
skybox->remove();
skybox = NULL;
}
// Handle according to type
Expand Down

0 comments on commit 1cea2f1

Please sign in to comment.