Page 1 of 1

Seg Fault with deleteArea

Posted: Tue Aug 16, 2011 2:28 am
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] );
            }
        }