Skip to content

Commit 85c1f84

Browse files
committed
Small changes
1 parent 33b1bfe commit 85c1f84

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Version 1.2.1 (TBD): Not yet released
1414
- Add `ui_fpsavg` command set FPS counter averaging window
1515

1616
[@is-this-c](https://github.com/is-this-c)
17+
- Improve bot decommission logic
1718
- Improve freelook spectate logic after level transition
1819

1920
### Bug fixes

‎game_patch/misc/player.cpp‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@ CodeInjection player_dying_frame_respawn_req_patch{ // force respawn
233233
0x004A6DCA,
234234
[] (auto& regs) {
235235
if (!rf::is_server) {
236-
const auto& pdata = get_player_additional_data(rf::local_player);
237-
if (pdata.is_spawn_disabled_bot()) {
236+
if (get_player_additional_data(rf::local_player).is_spawn_disabled_bot()) {
238237
regs.eip = 0x004A6DF8;
239238
return;
240239
}

0 commit comments

Comments
 (0)