Ignore:
Timestamp:
05/14/09 13:28:50 (11 years ago)
Author:
maximinus_parpg
Message:

Maximinus note to self: Don't write code at work!
Fixed broken code :-(, it all works now!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/scripts/engine.py

    r69 r70  
    8080                    xpos = attrs.getValue("xpos") 
    8181                    ypos = attrs.getValue("ypos") 
    82                     gfx = attrs.getValue("gfx") 
    8382                else: 
    8483                    owner = attrs.getValue("owner") 
     84                gfx = attrs.getValue("gfx") 
    8585                ident = attrs.getValue("id") 
    8686                text = attrs.getValue("text") 
     
    146146                self.view.addObject(float(i[1]), float(i[2]), i[3]) 
    147147                # now add it as an engine object 
    148                 self.objects.append(GameObject(i) 
     148                self.objects.append(GameObject(i)) 
    149149 
    150150    def addNPCs(self,npcs): 
Note: See TracChangeset for help on using the changeset viewer.