Mercurial > mm7
comparison Indoor.cpp @ 723:256211e8243a
ODM_GetFloorLevel & BLV_GetFloorLevel
author | Ritor1 |
---|---|
date | Thu, 21 Mar 2013 16:09:44 +0600 |
parents | a5ee769b02c6 |
children | 737d7fec67f0 |
comparison
equal
deleted
inserted
replaced
722:70c5a87a1307 | 723:256211e8243a |
---|---|
3975 if ( v2 <= -30000 ) | 3975 if ( v2 <= -30000 ) |
3976 { | 3976 { |
3977 v5 = pIndoor->GetSector(v0->vPosition.x, v0->vPosition.y, v4); | 3977 v5 = pIndoor->GetSector(v0->vPosition.x, v0->vPosition.y, v4); |
3978 v0->uSectorID = v5; | 3978 v0->uSectorID = v5; |
3979 if ( !v5 | 3979 if ( !v5 |
3980 || (v56 = _46CEC3_get_floor_level(v0->vPosition.x, v0->vPosition.y, v0->vPosition.z, v5, &uFaceID), v56 == -30000) ) | 3980 || (v56 = BLV_GetFloorLevel(v0->vPosition.x, v0->vPosition.y, v0->vPosition.z, v5, &uFaceID), v56 == -30000) ) |
3981 goto LABEL_123; | 3981 goto LABEL_123; |
3982 } | 3982 } |
3983 if ( v0->uCurrentActionAnimation == ANIM_Walking) | 3983 if ( v0->uCurrentActionAnimation == ANIM_Walking) |
3984 { | 3984 { |
3985 v6 = v0->uMovementSpeed; | 3985 v6 = v0->uMovementSpeed; |