Core/Misc: Fix a compile warning.

Closes #11229
Core/Misc: Fix a compile warning.

Properly fix #11229 since eacf961e7299afc0627e146d204d94baa1a09d80 changes didn't affect the original issue.
Core/Transports: Fix triggered assertion in Transports

Relocate only Players in world when updating transport's and its passengers' positions.
Thanks vlad852 .
Closes #11209 .
Merge commit 'd2065b0e502265e9b9127b1e4391b47b62a46b84'