Fix use of uninit data in Sky and (potentially) GUIChatConsole constructors
authorKahrl <kahrl@gmx.net>
Sat, 17 Jan 2015 19:05:45 +0000 (20:05 +0100)
committerKahrl <kahrl@gmx.net>
Sun, 18 Jan 2015 12:16:01 +0000 (13:16 +0100)
commite80a044818714da480fe6f108f0439f67380fca6
tree3fd92af0f03dcfcccb28bf958b15bca4366c6ee8
parent29514918f81e50e9a87659dd930f4e8369d73041
Fix use of uninit data in Sky and (potentially) GUIChatConsole constructors

Clean up nearby code a bit

As a small side effect, it is now possible to add a background texture
to the chat console by simply providing background_chat.jpg, it is no
longer necessary to also add "console_color =" to minetest.conf.
src/game.cpp
src/guiChatConsole.cpp
src/sky.cpp
src/sky.h