aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index a3f73465b..6076ac4a0 100644
--- a/src/game.cpp
+++ b/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