projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f70e055
)
Fix switch from "skybox" to other sky types as triggered by player:set_sky()
author
Perttu Ahola
<celeron55@gmail.com>
Sun, 8 Jun 2014 09:33:16 +0000
(12:33 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sun, 8 Jun 2014 09:33:16 +0000
(12:33 +0300)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index a3f73465b9d2e96d681acd16bdd6163440b4b0a4..6076ac4a0aeb5d83c7cd90bf9a466cfb0f69c8ac 100644
(file)
--- 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