WFL: Use correct argument for the second location in rotate_loc_around (#9077)

This commit is contained in:
ZombieKnight 2024-07-08 14:32:12 +02:00 committed by GitHub
parent 7b54d42d4b
commit 56afa893bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1352,7 +1352,7 @@ DEFINE_WFL_FUNCTION(rotate_loc_around, 2, 3)
.convert_to<location_callable>()
->loc();
const map_location loc = args()[0]
const map_location loc = args()[1]
->evaluate(variables, add_debug_info(fdb, 1, "direction_from:location"))
.convert_to<location_callable>()
->loc();