diff options
author | Matthew Hoops | 2012-08-28 16:50:15 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-08-28 16:50:15 -0400 |
commit | f61146f32791831211c7b9399ec681aed109f03b (patch) | |
tree | 7aa7e8d749448f06427cce963ba088e2f9d71716 /engines/pegasus/items/itemlist.h | |
parent | 81e7c9a0c1599786a1aeb73d243609a2d280335f (diff) | |
download | scummvm-rg350-f61146f32791831211c7b9399ec681aed109f03b.tar.gz scummvm-rg350-f61146f32791831211c7b9399ec681aed109f03b.tar.bz2 scummvm-rg350-f61146f32791831211c7b9399ec681aed109f03b.zip |
PEGASUS: Remove g_allItems global construction
Diffstat (limited to 'engines/pegasus/items/itemlist.h')
-rw-r--r-- | engines/pegasus/items/itemlist.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/pegasus/items/itemlist.h b/engines/pegasus/items/itemlist.h index b5a1d489be..173a54104d 100644 --- a/engines/pegasus/items/itemlist.h +++ b/engines/pegasus/items/itemlist.h @@ -52,8 +52,7 @@ public: typedef ItemList::iterator ItemIterator; -// TODO: Don't use global construction! -extern ItemList g_allItems; +#define g_allItems (((PegasusEngine *)g_engine)->getAllItems()) } // End of namespace Pegasus |