Commit b44d1a0a authored by Gerhard Stein's avatar Gerhard Stein

Small bug fix, player selection with embedded resources

parent c2a3ea58
......@@ -141,7 +141,7 @@ private:
// Some pictures for sprites have three sections,
// but there have been arising some which only use two and the mask is a special odd color
int mFold = 3;
int mFold = 1;
};
#endif /* GsSprite_H_ */
......@@ -137,7 +137,7 @@ CGalaxySpriteObject* CMapLoaderGalaxyEp5::addFoe(CMap &Map, word foe, size_t x,
inventory.Item.mLevelName = Map.getLevelName();
p_newfoe = new galaxy::CPlayerLevel(&Map, foe, x, y, m_ObjectPtr,
(foe==1) ? RIGHT : LEFT, inventory, 0x0888, mNumLoadedPlayers, mNumLoadedPlayers);
(foe==1) ? RIGHT : LEFT, inventory, 0x0888, mNumLoadedPlayers, inventory.mSpriteVar);
}
mNumLoadedPlayers++;
break;
......
......@@ -125,7 +125,7 @@ CGalaxySpriteObject* CMapLoaderGalaxyEp6::addFoe(CMap &Map, word foe, size_t x,
(foe==1) ? RIGHT : LEFT,
inventory,
m_demo ? 0x91E : 0x89A,
mNumLoadedPlayers, mNumLoadedPlayers);
mNumLoadedPlayers, inventory.mSpriteVar);
}
mNumLoadedPlayers++;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment