← Back to team overview

mudlet-makers team mailing list archive

Re: [Bug 1075032] Re: Crash in paintEvent()

 

-> your recent pathfinding patch

Am 05.11.2012 05:54, schrieb Vadim Peretokin:
> It would seem that room is in an area that getAreaTable() does not even
> know about. So a whole lot of rooms are in an area that's not known in
> an area.
>

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1075032

Title:
  Crash in paintEvent()

Status in Mudlet the MUD client:
  New

Bug description:
  0	T2DMap::paintEvent	T2DMap.cpp	692	0x61d32c	
  1	QWidget::event(QEvent*)	/usr/lib/x86_64-linux-gnu/libQtGui.so.4	0	0x7ffff62500f6	
  2	T2DMap::event	T2DMap.cpp	1702	0x627170	

  Relevant code:

      if( ! pArea->gridMode )
      {
          for( int i=0; i<pArea->rooms.size(); i++ )
          {
              TRoom * pR = mpMap->rooms[pArea->rooms[i]];
              int trID = pArea->rooms[i];
              float rx = pR->x*tx+_rx;

  pR is 0x0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1075032/+subscriptions


References