Fix animation query.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13349 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2010-05-30 14:57:02 +00:00
parent 540b935bb3
commit 287eb34c9e
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class Dialog:
# are replaced by the names of the npc and the player respectively # are replaced by the names of the npc and the player respectively
def speak(self, msg): def speak(self, msg):
# query the animation system in case the NPC is playing an animation # query the animation system in case the NPC is playing an animation
if self.__speaker.Event(self.__speaker, self.__speaker, "", 1): if self.__speaker.Event(self.__speaker, self.__speaker, "query_object_is_animated", 1):
return 0 return 0
key = self.uniqueKey() key = self.uniqueKey()