Skip to content

Commit

Permalink
Merge pull request #36 from hx-w/dev-1.4.3
Browse files Browse the repository at this point in the history
botmimic_csgowiki => botmimic_fix
  • Loading branch information
hx-w authored Sep 2, 2021
2 parents 504de2f + 52be8df commit 02d9d55
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
botreplay/
!csgowiki.inc
!socket.inc
!botmimic_csgowiki.inc
!botmimic_fix.inc
spcomp
spcomp64
compiled/
Expand Down
Binary file modified plugins/csgowiki-pack.smx
Binary file not shown.
4 changes: 2 additions & 2 deletions scripting/csgowiki-pack.sp
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ public OnPluginEnd() {
}

public void OnLibraryAdded(const char[] name) {
g_bBotMimicLoaded = LibraryExists("botmimic_csgowiki");
g_bBotMimicLoaded = LibraryExists("botmimic_fix");
}

public void OnLibraryRemoved(const char[] name) {
g_bBotMimicLoaded = LibraryExists("botmimic_csgowiki");
g_bBotMimicLoaded = LibraryExists("botmimic_fix");
}

public OnMapStart() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ stock void BotMimic_GetErrorString(BMError error, char[] str, int maxlen)

public SharedPlugin __pl_botmimic =
{
name = "botmimic_csgowiki",
file = "botmimic_csgowiki.smx",
name = "botmimic_fix",
file = "botmimic_fix.smx",
#if defined REQUIRE_PLUGIN
required = 1
#else
Expand Down
2 changes: 1 addition & 1 deletion scripting/include/csgowiki.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <cstrike>
#include <ripext>
#include <socket>
#include <botmimic_csgowiki>
#include <botmimic_fix>

#define PREFIX "\x01[\x05CSGOWiki\x01]"
#pragma dynamic 1310720
Expand Down

0 comments on commit 02d9d55

Please sign in to comment.