Skip to content

Commit 5d50c5e

Browse files
committed
Add a todo for bot flashes.
1 parent 0b6585f commit 5d50c5e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

scripting/practicemode.sp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ float g_SavedRespawnAngles[MAXPLAYERS + 1][3];
111111
ArrayList g_KnownNadeCategories = null;
112112

113113
ArrayList g_ClientBots[MAXPLAYERS + 1]; // Bots owned by each client.
114-
// int g_BotOwned[MAXPLAYERS + 1];
115114
bool g_IsPMBot[MAXPLAYERS + 1];
116115
float g_BotSpawnOrigin[MAXPLAYERS + 1][3];
117116
float g_BotSpawnAngles[MAXPLAYERS + 1][3];

scripting/practicemode/bots.sp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ public Action Event_DamageDealtEvent(Event event, const char[] name, bool dontBr
287287
return Plugin_Continue;
288288
}
289289

290+
// TODO: rework this to print the message to the bot owner AND the flash thrower.
291+
// It probably needs to use the flashbang_detonate event (so piggyback on Event_FlashDetonate).
290292
public Action Event_PlayerBlind(Event event, const char[] name, bool dontBroadcast) {
291293
if (!g_InPracticeMode) {
292294
return;

0 commit comments

Comments
 (0)