diff options
author | Torbjörn Andersson | 2010-10-15 20:01:13 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-10-15 20:01:13 +0000 |
commit | 9744167adc35ea945eaef333e76696b1d6feaeb7 (patch) | |
tree | 1dc40047ad9f393c10cb17b2e42dde4fddbf96c1 /engines/toon/font.cpp | |
parent | b184d7bbdb109d1d123ebb5cf87fe3d2febe1865 (diff) | |
download | scummvm-rg350-9744167adc35ea945eaef333e76696b1d6feaeb7.tar.gz scummvm-rg350-9744167adc35ea945eaef333e76696b1d6feaeb7.tar.bz2 scummvm-rg350-9744167adc35ea945eaef333e76696b1d6feaeb7.zip |
SWORD25: Fix infinite recursion
If I understand this, we don't need to call Kernel::GetInstance()
when we are already in the Kernel class. In this particular case,
_RegisterScriptBindings() is called from the Kernel constructor, so
it gets called again and again because _Instance hasn't yet been set.
svn-id: r53512
Diffstat (limited to 'engines/toon/font.cpp')
0 files changed, 0 insertions, 0 deletions