linkablemapobj.cpp
changeset 139 087e60400acc
parent 129 9b9c7e8b9147
child 160 72cc3873306a
     1.1 --- a/linkablemapobj.cpp	Wed Jul 27 18:56:32 2005 +0000
     1.2 +++ b/linkablemapobj.cpp	Wed Jul 27 18:56:35 2005 +0000
     1.3 @@ -1,3 +1,5 @@
     1.4 +#include <math.h>
     1.5 +
     1.6  #include "linkablemapobj.h"
     1.7  #include "branchobj.h"
     1.8  #include "mapeditor.h"
     1.9 @@ -651,7 +653,7 @@
    1.10  	// we want to block expensive repositioning, but just do it once at
    1.11  	// the end, thus check first:
    1.12  
    1.13 -	if (mapEditor->blockReposition()) return;
    1.14 +	if (mapEditor->isRepositionBlocked()) return;
    1.15  	
    1.16  	// Pass on the request to parental objects, if this hasn't been done yet
    1.17