Mercurial > mm7
diff mm7_4.cpp @ 380:2f67762d04f6
DecorationDesc: flags -> methods
author | Nomad |
---|---|
date | Fri, 22 Feb 2013 22:34:35 +0200 |
parents | edd2d8b7e3c4 |
children | 39a60868e9c7 |
line wrap: on
line diff
--- a/mm7_4.cpp Fri Feb 22 22:26:51 2013 +0200 +++ b/mm7_4.cpp Fri Feb 22 22:34:35 2013 +0200 @@ -1165,7 +1165,7 @@ if ( !(v1->field_2 & 0x20) ) { v2 = &pDecorationList->pDecorations[v1->uDecorationDescID]; - if ( !(v2->uFlags & 1) ) + if (!v2->CanMoveThrough()) { v3 = v2->uRadius; v4 = v1->vPosition.x; @@ -1274,7 +1274,7 @@ if ( !(v5->field_2 & 0x20) ) { v6 = &pDecorationList->pDecorations[v5->uDecorationDescID]; - if ( !(v6->uFlags & 1) ) + if (!v6->CanMoveThrough()) { v7 = v6->uRadius; v8 = v5->vPosition.x;