Skip to content

Commit 1cea2f1

Browse files
committedJun 8, 2014
Fix switch from "skybox" to other sky types as triggered by player:set_sky()
1 parent f70e055 commit 1cea2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/game.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2532,7 +2532,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
25322532
else if (event.type == CE_SET_SKY) {
25332533
sky->setVisible(false);
25342534
if(skybox){
2535-
skybox->drop();
2535+
skybox->remove();
25362536
skybox = NULL;
25372537
}
25382538
// Handle according to type

0 commit comments

Comments
 (0)
Please sign in to comment.