mirror of
https://github.com/zeldaret/ss
synced 2026-08-11 03:26:06 -04:00
_sword OK
This commit is contained in:
@@ -157,10 +157,9 @@ void dLytMsgWindowLink_c::executeState_In() {
|
||||
if (mAnm[LINK_ANIM_IN].isEndReached()) {
|
||||
v = mTranslationTo;
|
||||
} else {
|
||||
// TODO - when you fix this, fix other instances of this
|
||||
// by searching for de4663d6
|
||||
v = mpPanes[4]->GetTranslate();
|
||||
v += (mTranslationTo - v) / 2.0f;
|
||||
v.copyFrom(mpPanes[4]->GetTranslate());
|
||||
mVec3_c tmp = (mTranslationTo - v) / 2.0f;
|
||||
v += tmp;
|
||||
}
|
||||
mpPanes[4]->SetTranslate(v);
|
||||
}
|
||||
|
||||
@@ -234,10 +234,9 @@ void dLytMsgWindowSword_c::executeState_Out() {
|
||||
if (mAnm[SWORD_ANIM_OUT].isEndReached()) {
|
||||
v = mTranslationFrom;
|
||||
} else {
|
||||
// TODO - when you fix this, fix other instances of this
|
||||
// by searching for de4663d6
|
||||
v = mpPanes[2]->GetTranslate();
|
||||
v += (mTranslationTo - v) / 2.0f;
|
||||
v.copyFrom(mpPanes[2]->GetTranslate());
|
||||
mVec3_c tmp = (mTranslationTo - v) / 2.0f;
|
||||
v += tmp;
|
||||
}
|
||||
mpPanes[2]->SetTranslate(v);
|
||||
}
|
||||
|
||||
@@ -157,10 +157,9 @@ void dLytMsgWindowTalk_c::executeState_In() {
|
||||
if (mAnm[TALK_ANIM_IN].isEndReached()) {
|
||||
v = mTranslationTo;
|
||||
} else {
|
||||
// TODO - when you fix this, fix other instances of this
|
||||
// by searching for de4663d6
|
||||
v = mpPanes[4]->GetTranslate();
|
||||
v += (mTranslationTo - v) / 2.0f;
|
||||
v.copyFrom(mpPanes[4]->GetTranslate());
|
||||
mVec3_c tmp = (mTranslationTo - v) / 2.0f;
|
||||
v += tmp;
|
||||
}
|
||||
mpPanes[4]->SetTranslate(v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user