BGE: Fix T45341: Crash when camera is eliminated
authorJorge Bernal <jbernalmartinez@gmail.com>
Mon, 6 Jul 2015 13:40:09 +0000 (15:40 +0200)
committerJorge Bernal <jbernalmartinez@gmail.com>
Mon, 6 Jul 2015 13:40:50 +0000 (15:40 +0200)
commit12583287e78505f45d62d9fd419371be66debf93
treef8de18e89e8b06f5d9667c8ea6901ab69b4eb246
parent266459c7da24bd54fbe20a6eac8e6db4f5ac7be7
BGE: Fix T45341: Crash when camera is eliminated

A null check is added to avoid crashes when the camera is removed during
the game and no other is available
source/gameengine/Ketsji/KX_Scene.cpp