Seg Fault with deleteArea

All and any discussion and development of the Mudlet Mapper.
Post Reply
User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Seg Fault with deleteArea

Post by chris »

Without this code, mudlet seg faults on me when deleting a room without a memory address in an area.
about line 143 in TMap.cpp
Code: [show] | [select all] lua
for( int i=0; i< pA->rooms.size(); i++ )
        {
            //std::cout << pA->rooms[i] <<endl;
            if (pA->rooms[i]){
                rl.push_back( pA->rooms[i] );
            }
        }

Post Reply