BGE: Fixing a crash reported by Ace Dragon on BA. It looks like Object->totcol can...
authorMitchell Stokes <mogurijin@gmail.com>
Mon, 25 Feb 2013 05:55:37 +0000 (05:55 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Mon, 25 Feb 2013 05:55:37 +0000 (05:55 +0000)
commit2f2c0a6b02ee5db79df98a91d0bf071de1a9ffdc
tree07b6bc109f63a99e1e0d34ede41d16f1e8c6fd21
parent732f6f7bd0b70777b5807727d36df4a956dfe9f3
BGE: Fixing a crash reported by Ace Dragon on BA. It looks like Object->totcol can give a number higher than the number of materials, so I've added some NULL checks.
source/gameengine/Ketsji/BL_Action.cpp