mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
Merge pull request #1094 from BoomShotKapow/master
Minor changes to replay-recorder
This commit is contained in:
commit
51427be3e9
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user