Merge pull request #1094 from BoomShotKapow/master

Minor changes to replay-recorder
This commit is contained in:
rtldg 2021-12-16 10:21:59 +00:00 committed by GitHub
commit 51427be3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -64,6 +64,10 @@ forward Action Shavit_ShouldSaveReplayCopy(int client, int style, float time, in
* @param istoolong If the time is too long to save a replay if the time is a WR. Note: replays WON'T be full length if this is true.
* @param iscopy If the path points to a copy of the replay.
* @param replaypath Path to the saved replay.
* @param frames ArrayList of the player's frames in the replay.
* @param preframes The number of preframes in the replay.
* @param postframes The number of postframes in the replay.
* @param name Player's name at the time of the replay.
*
* @noreturn
*/
@ -156,4 +160,4 @@ public void __pl_shavit_replay_recorder_SetNTVOptional()
MarkNativeAsOptional("Shavit_HijackAngles");
MarkNativeAsOptional("Shavit_SetReplayData");
}
#endif
#endif

View File

@ -365,8 +365,8 @@ void DoReplaySaverCallbacks(int iSteamID, int client, int style, float time, int
Call_PushCell(avgvel);
Call_PushCell(maxvel);
Call_PushCell(timestamp);
Call_PushCell(isTooLong);
Call_PushCell(isBestReplay);
Call_PushCell(isTooLong);
Call_Finish(action);
bool makeCopy = (action != Plugin_Continue);