kepler: remove shadowing

This commit is contained in:
laochailan 2021-09-25 08:40:47 +02:00 committed by Andrei Alexeyev
parent 657345cce6
commit 4b04855932
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -60,7 +60,7 @@ DEFINE_TASK(kepler_bullet) {
INVOKE_SUBTASK(kepler_bullet_spawner, ENT_BOX(p), ARGS.tier, 20 * cnormalize(p->pos - pos));
for(int t = 0;; t++) {
Projectile *parent = ENT_UNBOX(ARGS.parent);
parent = ENT_UNBOX(ARGS.parent);
if(parent != NULL) {
p->move.attraction_point = parent->pos;
} else {