open.mp icon indicating copy to clipboard operation
open.mp copied to clipboard

Improve camera mode validation

Open NexiusTailer opened this issue 1 year ago • 0 comments

Now camera modes are validated this way: https://github.com/openmultiplayer/open.mp/blob/62a2fa95b36b73640a5b4bb330a1663d6d50adc9/Server/Source/player_pool.hpp#L867-L869

But:

  1. It should firstly consider that it's in range of 0..65
  2. The list of surely invalid camera modes related to aiming (so they could cause the same artifacts like derpcam and others) can be extended with 5, 39, 40, 43 and 52 values

NexiusTailer avatar Feb 20 '24 10:02 NexiusTailer