I have a fairly recent CVS copy of ta3d and I compiled / ran it with some totally legal TA hpi files. The game runs fine until I try to exit. It freezes up and I get a memory allocation error. Here's the last two lines. Is everyone else getting this error?
freeing memory used for the map
*** glibc detected *** double free or corruption (!prev): 0x0b732ae0 ***
Error on exitting
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
That's done, it's fixed!! It was a bug in the function. I replaced px+x by lx because I needed it to do a check but I forgot replacing it in some 'for', so when a unit was going out it was writing outside the map!!
Code: Select all
MAP::update_player_visibility
=>;-D Penguin Powered
Who is online
Users browsing this forum: No registered users and 15 guests