halved animatedbird space usage

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:07 +02:00
1 parent 9a1858e2f9
commit 488c25ecea
3 files changed
+11 -6

No files matched your search

+3 -1
View File
@@ -1227,7 +1227,9 @@ void drawPlayer(eMonster m, cell *where, const transmatrix& V, color_t col, doub
int wingphase(int period, int phase = 0) {
ld t = fractick(period, phase);
return int(t * 30) % 30;
int ti = int(t * 30) % 30;
if(ti > 15) ti = 30 - ti;
return ti;
}
transmatrix wingmatrix(int period, int phase = 0) {