Fixed typo in ai.c

FIxed typo.
This commit is contained in:
Panos Vasilopoulos 2019-05-05 01:31:19 +03:00 committed by Max Bruce
parent 70367d38ac
commit b8a7292475
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ int ai_shouldnearestattackabletarget(struct world* world, struct entity* entity,
cd = dsq;
ce = value;
}
END_HASHMAP_ITERATION(world->entities)/;
END_HASHMAP_ITERATION(world->entities);
if (entity->attacking != NULL && ce != entity->attacking) put_hashmap(entity->attacking->attackers, entity->id, NULL);
if (ce != NULL && entity->attacking != ce) {
put_hashmap(ce->attackers, entity->id, entity);