Changeset 431:b753ea36909e


Ignore:
Timestamp:
04/09/11 16:46:28 (12 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Message:

Fix the bug Anna found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/player.py

    r430 r431  
    291291        if not self.on_solid:
    292292            return
    293         if 'shapeshift' not in self.the_world.fox.tails:
     293        if 'shapeshift' not in self._me.tails:
    294294            return
    295295        if self.shape == 'fox':
    296296            # Become human
    297             if self.the_world.fox.has_fan:
     297            if self._me.has_fan:
    298298                self.shape = 'human_with_fan'
    299299            else:
     
    304304        if self.set_image():
    305305            # Transformation succeeded
    306             self.the_world.fox.shape = self.shape
     306            self._me.shape = self.shape
    307307        else:
    308308            # Back out of transformation
    309             self.shape = self.the_world.fox.shape
     309            self.shape = self._me.shape
    310310
    311311    def action_right(self):
     
    565565        self._me.has_fan = True
    566566        self.shape = 'human_with_fan'
     567        self._me.shape = self.shape
    567568        self.set_image()
    568569
Note: See TracChangeset for help on using the changeset viewer.