Opt not to crash when loading level SOLs with no balls
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Thu, 24 Feb 2011 22:40:23 +0000 (22:40 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Thu, 24 Feb 2011 22:40:23 +0000 (22:40 +0000)
commit9ae8f6e56caecabe039e66cfa5a5740cec748bd4
treed276779a82e914412d4544fe1a18c1c75adae26c
parenta994dd146534f1cd09f8b29875ca84b2c0889d18
Opt not to crash when loading level SOLs with no balls

Instead, allocate a dummy ball structure with zero radius.  This is
incredibly stupid, but it also gives more interesting results than
simply refusing to load the level.

git-svn-id: https://s.snth.net/svn/neverball/trunk@3510 78b8d119-cf0a-0410-b17c-f493084dd1d7
share/solid_base.c