File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -140,18 +140,9 @@ void BotClientEntersEvent(gedict_t *self, gedict_t *spawn_pos)
140
140
self -> fb .last_rndaim_time = 0 ;
141
141
self -> fb .wiggle_run_dir = 0 ;
142
142
143
- if (isCA ())
144
- {
145
- // Find the nearest navigation marker to the spawn point
146
- // Don't use spawn_pos directly - it's not a navigation marker!
147
- // This is important to prevent bot games from crashing in CA/Wipeout
148
- marker = spawn_pos ? LocateMarker (spawn_pos -> s .v .origin ) : NULL ;
149
- }
150
- else
151
- {
152
- // This is wrong but let's keep it to preserve bot behavior
153
- marker = spawn_pos ;
154
- }
143
+ // Find the nearest navigation marker to the spawn point
144
+ // Don't use spawn_pos directly - it's not a navigation marker!
145
+ marker = spawn_pos ? LocateMarker (spawn_pos -> s .v .origin ) : NULL ;
155
146
SetMarker (self , marker );
156
147
157
148
self -> fb .arrow = 0 ;
You can’t perform that action at this time.
0 commit comments