Skip to content
Permalink
Browse files

Fix switch from "skybox" to other sky types as triggered by player:se…

…t_sky()
  • Loading branch information
celeron55 committed Jun 8, 2014
1 parent f70e055 commit 1cea2f1b490a1cb7ec047e79700fa885db92231b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/game.cpp
@@ -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

0 comments on commit 1cea2f1

Please sign in to comment.
You can’t perform that action at this time.