diff --git a/source/hazard/hpendulm.cpp b/source/hazard/hpendulm.cpp index 313e8f06c..b5c8f7fce 100644 --- a/source/hazard/hpendulm.cpp +++ b/source/hazard/hpendulm.cpp @@ -27,6 +27,9 @@ #include "game\game.h" #endif +#ifndef __GFX_OTPOS_H__ +#include "gfx\otpos.h" +#endif //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -169,7 +172,7 @@ void CNpcPendulumHazard::render() { if ( maxY >= 0 && minY <= VidGetScrH() ) { - DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 ); + DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 ); } } } diff --git a/source/hazard/hrweight.cpp b/source/hazard/hrweight.cpp index 5f15f4f2a..873200d61 100644 --- a/source/hazard/hrweight.cpp +++ b/source/hazard/hrweight.cpp @@ -31,6 +31,9 @@ #include "friend\friend.h" #endif +#ifndef __GFX_OTPOS_H__ +#include "gfx\otpos.h" +#endif //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -198,7 +201,7 @@ void CNpcRisingWeightHazard::render() { if ( maxY >= 0 && minY <= VidGetScrH() ) { - DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 ); + DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 ); } } @@ -229,7 +232,7 @@ void CNpcRisingWeightHazard::render() { if ( maxY >= 0 && minY <= VidGetScrH() ) { - DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 ); + DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 ); } } } diff --git a/source/platform/pdual.cpp b/source/platform/pdual.cpp index e0e3aacef..2cd9776b3 100644 --- a/source/platform/pdual.cpp +++ b/source/platform/pdual.cpp @@ -35,6 +35,9 @@ #include "friend\friend.h" #endif +#ifndef __GFX_OTPOS_H__ +#include "gfx\otpos.h" +#endif //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -290,7 +293,7 @@ void CNpcDualPlatform::render() { if ( y2 >= 0 && y1 <= VidGetScrH() ) { - DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 ); + DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 ); } } @@ -332,7 +335,7 @@ void CNpcDualPlatform::render() { if ( y2 >= 0 && y1 <= VidGetScrH() ) { - DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 ); + DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 ); } } } diff --git a/source/platform/pfishhk.cpp b/source/platform/pfishhk.cpp index c9b186903..039c8dde5 100644 --- a/source/platform/pfishhk.cpp +++ b/source/platform/pfishhk.cpp @@ -27,6 +27,10 @@ #include "game\game.h" #endif +#ifndef __GFX_OTPOS_H__ +#include "gfx\otpos.h" +#endif + //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -156,7 +160,7 @@ void CNpcFishHookPlatform::render() { y2 = VidGetScrH(); } - DrawLine( x1, y1, x2, y2, 0, 0, 0, 8 ); + DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 ); } } diff --git a/source/platform/ppendulm.cpp b/source/platform/ppendulm.cpp index 8fc433f18..643a7236f 100644 --- a/source/platform/ppendulm.cpp +++ b/source/platform/ppendulm.cpp @@ -27,6 +27,10 @@ #include "game\game.h" #endif +#ifndef __GFX_OTPOS_H__ +#include "gfx\otpos.h" +#endif + //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// void CNpcPendulumPlatform::postInit() @@ -191,7 +195,7 @@ void CNpcPendulumPlatform::render() { if ( y2Boundary >= 0 && y1Boundary <= VidGetScrH() ) { - DrawLine( x1, y1, x2, y2, 0, 0, 0, 8 ); + DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 ); } } } diff --git a/tools/Data/bin/MkLevel.exe b/tools/Data/bin/MkLevel.exe index a7cdf32b2..e3d0bd9e5 100644 Binary files a/tools/Data/bin/MkLevel.exe and b/tools/Data/bin/MkLevel.exe differ