mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
halved animatedbird space usage
This commit is contained in:
1 parent
9a1858e2f9
commit
488c25ecea
3 files changed
+11
-6
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user