mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-08 19:49:32 -04:00
nvm im dumb
This commit is contained in:
@@ -402,12 +402,11 @@ void daPy_sightPacket_c::setSight() {
|
||||
|
||||
#if TARGET_PC
|
||||
mDoLib_project(&mPos, &proj, {0, 0, FB_WIDTH, FB_HEIGHT});
|
||||
mDoMtx_stack_c::transS(proj.x - 16.0f, proj.y - 8.0f, proj.z);
|
||||
#else
|
||||
mDoLib_project(&mPos, &proj);
|
||||
mDoMtx_stack_c::transS(proj.x, proj.y, proj.z);
|
||||
#endif
|
||||
|
||||
mDoMtx_stack_c::transS(proj.x, proj.y, proj.z);
|
||||
mDoMtx_stack_c::scaleM(32.0f, 32.0f, 32.0f);
|
||||
mDoMtx_copy(mDoMtx_stack_c::get(), mProjMtx);
|
||||
dComIfGd_set2DXlu(this);
|
||||
|
||||
Reference in New Issue
Block a user