Skip to content

Conversation

@spirifoxy
Copy link

I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug found using PVS-Studio. Warnings:
V3066 Possible incorrect order of arguments passed to 'IsAlive' method: 'defender' and 'attacker'. Fight2.cs 117
V3066 Possible incorrect order of arguments passed to 'StartFight' method: 'defender' and 'attacker'. Fight2.cs 126
V3066 Possible incorrect order of arguments passed to 'HitTarget' method: 'defender' and 'attacker'. Fight2.cs 165
V3066 Possible incorrect order of arguments passed to 'updateRoom' method: 'oldRoomData' and 'newRoomData'. PlayerManager.cs 26
V3066 Possible incorrect order of arguments passed to 'updateRoom' method: 'oldRoomData' and 'newRoomData'. PlayerManager.cs 56
V3066 Possible incorrect order of arguments passed to 'updateRoom' method: 'oldRoomData' and 'newRoomData'. PlayerManager.cs 71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant