diff clients/rio_de_hola/scripts/world.py @ 5:427bb0de3e29

small fixes to techdemo to enable usage of beach map. Still segfaults when enabled from settings.py
author jasoka@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 04 Jul 2008 19:02:53 +0000
parents 4a0efb7baf70
children b153abbd9900
line wrap: on
line diff
--- a/clients/rio_de_hola/scripts/world.py	Wed Jul 02 11:35:14 2008 +0000
+++ b/clients/rio_de_hola/scripts/world.py	Fri Jul 04 19:02:53 2008 +0000
@@ -98,7 +98,7 @@
 		self.map = loadMapFile(filename, self.engine)
 		self.maplistener = MapListener(self.map)
 		
-		self.agentlayer = self.map.getLayer('TechdemoMapObjectLayer')
+		self.agentlayer = self.map.getLayer('TechdemoMapGroundObjectLayer')
 		self.hero = Hero(self.model, 'PC', self.agentlayer)
 		self.instance_to_agent[self.hero.agent.getFifeId()] = self.hero
 		self.hero.start()