mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
removed unused references to pathdist from kraken movement
This commit is contained in:
parent
5af23eab7d
commit
f0f6ae7514
@ -2981,7 +2981,6 @@ EX namespace kraken {
|
||||
}
|
||||
|
||||
EX void attacks() {
|
||||
pathdata pd(2);
|
||||
bool offboat[MAXPLAYER];
|
||||
for(int i=0; i<MAXPLAYER; i++) offboat[i] = false;
|
||||
for(int i=0; i<isize(dcal); i++) {
|
||||
@ -3041,7 +3040,9 @@ EX namespace kraken {
|
||||
vector<pair<cell*, cell*> > acells;
|
||||
acells.push_back(make_pair(c2, c));
|
||||
forCellIdEx(c3, i, c) {
|
||||
c3->monst = moKrakenT, c3->mondir = c->c.spin(i), c3->monmirror = c->monmirror ^ c->c.mirror(i), onpath(c3, 0);
|
||||
c3->monst = moKrakenT;
|
||||
c3->mondir = c->c.spin(i);
|
||||
c3->monmirror = c->monmirror ^ c->c.mirror(i);
|
||||
int i0 = (i+c->c.spin(c->mondir)-c->mondir+96+c->type/2) % c2->type;
|
||||
c3->hitpoints = hpcount[i0];
|
||||
acells.push_back(make_pair(c2->move(i0), c3));
|
||||
@ -3073,7 +3074,6 @@ EX namespace kraken {
|
||||
}
|
||||
commitAnimations(LAYER_BIG);
|
||||
sleep(c);
|
||||
onpath(c, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user