Commit 5626f389 authored by Gerhard Stein's avatar Gerhard Stein

Fixes, cleanups

parent b44d1a0a
......@@ -150,7 +150,7 @@ CGalaxySpriteObject* CMapLoaderGalaxyEp5::addFoe(CMap &Map, word foe, size_t x,
// Add the Camera into the game scene and attach it to this player
inventory.Item.mLevelName = Map.getLevelName();
p_newfoe = new galaxy::CPlayerWM(&Map,foe, x, y, inventory, 0x146E,
mNumLoadedPlayers, mNumLoadedPlayers );
mNumLoadedPlayers, inventory.mSpriteVar );
// 0x137A
}
mNumLoadedPlayers++;
......
......@@ -138,7 +138,7 @@ CGalaxySpriteObject* CMapLoaderGalaxyEp6::addFoe(CMap &Map, word foe, size_t x,
// This is the player on the world map
// Add the Camera into the game scene and attach it to this player
inventory.Item.mLevelName = Map.getLevelName();
p_newfoe = new galaxy::CPlayerWM(&Map,foe, x, y, inventory, m_demo ? 0x1446 : 0x13E0, mNumLoadedPlayers, mNumLoadedPlayers );
p_newfoe = new galaxy::CPlayerWM(&Map,foe, x, y, inventory, m_demo ? 0x1446 : 0x13E0, 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