Bug 574: Check whether the Console instance still exists before accessing it.
authorflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 11 Feb 2010 16:07:56 +0000 (16:07 +0000)
committerflorianf <florianf@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Thu, 11 Feb 2010 16:07:56 +0000 (16:07 +0000)
commit5e987a16cb44ef86858d9a27fd191f29fecebad2
tree1b2ebc684cf140b47288038ceec09d12e3739256
parent9a72799fafb2013484eac2bf1f7bf2cf2c971b01
Bug 574: Check whether the Console instance still exists before accessing it.

If the global Console instance doesn't exist anymore (or not yet), "std::cerr"
will be used instead.

Resolves: #574.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6322 837edb03-e0f3-0310-88ca-d4d4e8b29345
src/util/log.cpp