common_tasks: fix gcc warnings

This commit is contained in:
Andrei Alexeyev 2023-05-26 01:41:41 +02:00
parent 0d77416e3b
commit b233afaaa6
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -286,9 +286,9 @@ DEFINE_EXTERN_TASK(common_kill_enemy) {
cmplx common_wander(cmplx origin, double dist, Rect bounds) {
int attempts = 32;
double angle;
cmplx dest;
cmplx dir;
double angle = 0;
cmplx dest = 0;
cmplx dir = 0;
// assert(point_in_rect(origin, bounds));