Merging master

This commit is contained in:
Anonymus Raccoon
2020-04-16 19:45:03 +02:00
parent f380e2beb4
commit 70cd9ac52c
+1 -1
View File
@@ -37,7 +37,7 @@ void entity_moved(gc_engine *engine, va_list args)
return;
if (tile->type && my_strcmp(tile->type, "combat"))
combat_start(engine);
if (random() % 100 <= cmp->fight_rate)
if (random() % 100 < cmp->fight_rate)
combat_start(engine);
}