mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

'restoreWorldModel' does not use it's 'fRadius' argument

Open PlatinMTA opened this issue 2 years ago • 0 comments

Describe the bug

The documentation says that the function needs the radius argument, even tho in code it isn't used.

Steps to reproduce

Read CBuildingRemovalManager.cpp.

Version

All versions

Additional context

If possible, making this function only restore world models in radius would be wonderful, since you could hide all models using removeWorldModel and then you can restore only the models you really need with restoreWorldModel, for example:

removeWorldModel(1337, 10000, 0, 0, 0)
restoreWorldModel(1337, 100, 1234, -1234, 11.5)

Relevant log output

No response

Security Policy

  • [X] I have read and understood the Security Policy and this issue is not security related.

PlatinMTA avatar May 25 '22 15:05 PlatinMTA