This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static int pv_enter = 0; | |
| static int pv_exit = 1; | |
| void CSDKGameRules::CalculateSlowMoForPlayer(CSDKPlayer* pPlayer) | |
| { | |
| /*pv_enter should always be less than pv_exit. | |
| If it isn't then it means this function is getting called asynchronously. | |
| pv_enter and pv_exit are incremented at opposing sides of the function, | |
| this is a cheap bid to increase the resolution of this diagnostic.*/ | |
| Assert (pv_enter < pv_exit); | |
| if (!pPlayer) |
NewerOlder