Fixed sprite allocation bugs
* Fixed bug that would cause the renderer for sprites to be corrupted on when the sprite vector is resized * Changed deleted_sprites variable to deleted_animation in sprite object * Changed sprite pointer vector to sprite id vector in canvas object * Changed the value stored in Fixture UserData pointer to sprite id rather than sprite pointer because pointer would change on resize anyway
This commit is contained in:
@@ -920,7 +920,7 @@ int main(int argc, char * argv[])
|
||||
|
||||
//DEBUG START
|
||||
//rc_filename = "/home/n00b/projects/bu/constraint_demo/main.bas";
|
||||
//rc_filename = "/home/n00b/Music/Simple 3D Platformer/main.bas";
|
||||
rc_filename = "/home/n00b/Downloads/Tile Scrolling/main.bas";
|
||||
//rc_filename = "/home/n00b/Programs/RCBasic_v400_Linux64/examples/Constraint/main.bas";
|
||||
//DEBUG END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user