magic numbers, wave in center

This commit is contained in:
Ralusama19 2017-01-22 00:53:27 +01:00
parent b42413dd77
commit c7cfabfec9

View file

@ -157,8 +157,8 @@ void Combat::doMahWaves(bool p){
else notes = enemy->getAttack().getNotes();
if (notes.size() > 0){
int anterior = notes[0];
if(!p) anterior = 512+256*anterior;
else anterior = 512-256*anterior;
if(!p) anterior = 256+256*anterior;
else anterior = 768-256*anterior;
for(int i = 0; i < notes.size(); ++i){
std::cout << notes[i] << std::endl;
Wave* w = new Wave(p);