http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=754
--- Comment #1 from Bob the Hamster <[email protected]> 2009-09-17 11:44:35 PDT --- (In reply to comment #0) > NP's scripts are huge and make extensive use of slices. I could forward the > version exhibiting the bug to you, James. Could you? I want to try this out. GetSliceDrawAttachParent does seem fairly simple though... Function GetSliceDrawAttachParent(BYVAL sl AS Slice Ptr) AS Slice Ptr WITH *sl SELECT CASE .Attach case slSlice if .Attached then RETURN .Attached elseif .parent then RETURN .parent else 'Fall through, use screen end if case slScreen 'Fall through, use screen END SELECT END WITH '--When no attached slice is found (or when we are explicitly attached to the screen) RETURN ScreenSlice End Function Hmmm... Oh! if I recall correctly, pointers inside WITH clauses are fundamentally unreliable for code outside the WITH block, so I wonder if that "RETURN .parent" is causing this... although then I wonder why any slice would ever have worked... :P Anyway. That is just a theory. I'll test it properly when I can reproduce it. -- Configure bugmail: http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
