Fix an EndlessWorld sample crash on OS X. The first entry in the world map becomes not quite null and therefore not equal to the end leading to an invalid memory access.
Fix an EndlessWorld sample crash on OS X. The first entry in the world map becomes not quite null and therefore not equal to the end leading to an invalid memory access.

--HG--
branch : v1-9

digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre