diff options
author | Johannes Schickel | 2008-05-02 15:08:45 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-02 15:08:45 +0000 |
commit | 7566a12352ff6c5609c8db032a73961d8feffbf9 (patch) | |
tree | 3f6bdc939e1df9b9ec2fb7dbafde713366298026 /engines/kyra/kyra_hof.cpp | |
parent | 52003bc1954d1c2f9c88bb1479e3e0ff24f4e849 (diff) | |
download | scummvm-rg350-7566a12352ff6c5609c8db032a73961d8feffbf9.tar.gz scummvm-rg350-7566a12352ff6c5609c8db032a73961d8feffbf9.tar.bz2 scummvm-rg350-7566a12352ff6c5609c8db032a73961d8feffbf9.zip |
Moved common kyra2/kyra3 item to KyraEngine_v2.
svn-id: r31819
Diffstat (limited to 'engines/kyra/kyra_hof.cpp')
-rw-r--r-- | engines/kyra/kyra_hof.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index e4b7d2b528..0c68de430f 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -352,8 +352,7 @@ void KyraEngine_HoF::startup() { } _gfxBackUpRect = new uint8[_screen->getRectSize(32, 32)]; - _itemList = new Item[30]; - memset(_itemList, 0, sizeof(Item)*30); + initItemList(30); loadButtonShapes(); resetItemList(); _loadedZTable = 1; |