http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=715

           Summary: Crash when calling free slice() on a container with a
                    medium enemy
           Product: OHRRPGCE
           Version: Nigtly WIP Builds (Ypsiliform)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Slices
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Twinhamster reports here:
http://castleparadox.com/ohr/viewtopic.php?p=78460#78460

> So I've been playing around with an enemy that's a container holding a
> medium-enemy-sprite and he animates just fine.
>
> However, I can't seem to get rid of slice after I'm done with him.
> 
> After the enemy runs out of health, I use:
> 
>   free slice (holder)
>
> Where holder is a global variable previously defined as:
> 
>   holder := create container(50,50)
>
> After getting the enemy below 1 health, the game closes.
> G_debug.txt gives me a bunch of:
>
> get sprite set number: slice handle 2 has already been deleted
>
>
> I can post the entire script if it's necessary.
>
> Thanks

And he also writes:

> The enemy has multiple frames of animation, so I figured the frame would be
> the best way to reference all of them (the sprite is freed and a new frame is
> added for each animation)

Which gives me a hunch that maybe the real problem is in the code that frees
the sprite slice, not the code that frees the container.

-- 
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

Reply via email to