more precise magic sync for waves, not in center tho

This commit is contained in:
Ralusama19 2017-01-22 00:14:29 +01:00
parent 69271a6c1f
commit 5a270b10dd

View file

@ -138,8 +138,8 @@ void Combat::doMahWaves(bool p){
//else w->setPosition(512-512*anterior,500); //else w->setPosition(512-512*anterior,500);
w->setPosition(anterior,200); w->setPosition(anterior,200);
if(i<notes.size()) { if(i<notes.size()) {
if(!p) anterior += 176*notes[i+1]; if(!p) anterior += 184*notes[i+1];
else anterior -= 176*notes[i+1]; else anterior -= 184*notes[i+1];
} }
waves.push_back(w); waves.push_back(w);
} }