Force reply type to be an integer.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13328 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2010-05-29 21:51:55 +00:00
parent 279478325d
commit 38295fe7da
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class Dialog:
if reply[0] == msg:
type = Crossfire.ReplyType.SAY
if len(reply) > 2:
type = reply[2]
type = int(reply[2])
Crossfire.SetPlayerMessage(reply[1], type)
break