Update of /cvsroot/wpdev/xmlscripts/scripts/magic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17442/magic
Modified Files:
runebook.py
Log Message:
runebook fix
Index: runebook.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/magic/runebook.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** runebook.py 27 Sep 2004 22:41:29 -0000 1.10
--- runebook.py 17 Oct 2004 23:11:40 -0000 1.11
***************
*** 39,42 ****
--- 39,45 ----
def onDropOnItem( book, item ):
+ if book.layer != 0 or isrunebook(item):
+ return False # Don't handle if book is being dragged
+
char = item.container
|