… | |
… | |
2002 | |
2002 | |
2003 | if (!pos.normalise ()) |
2003 | if (!pos.normalise ()) |
2004 | continue; |
2004 | continue; |
2005 | |
2005 | |
2006 | mapspace &ms = *pos; |
2006 | mapspace &ms = *pos; |
2007 | ms.update (); |
2007 | |
|
|
2008 | if (ms.flags () & P_IS_ALIVE) |
|
|
2009 | continue; |
2008 | |
2010 | |
2009 | /* However, often |
2011 | /* However, often |
2010 | * ob doesn't have any move type (when used to place exits) |
2012 | * ob doesn't have any move type (when used to place exits) |
2011 | * so the AND operation in OB_TYPE_MOVE_BLOCK doesn't work. |
2013 | * so the AND operation in OB_TYPE_MOVE_BLOCK doesn't work. |
2012 | */ |
2014 | */ |