Fix animation query.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13349 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
540b935bb3
commit
287eb34c9e
|
@ -207,7 +207,7 @@ class Dialog:
|
|||
# are replaced by the names of the npc and the player respectively
|
||||
def speak(self, msg):
|
||||
# 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
|
||||
|
||||
key = self.uniqueKey()
|
||||
|
|
Loading…
Reference in New Issue