Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 50e6290

Browse files
committed
I HATE THIS
1 parent 3a92392 commit 50e6290

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

byond-extools/src/core/core.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ unsigned int Core::GetStringId(std::string str, bool increment_refcount)
124124
{
125125
return GetStringTableIndexUTF8(str.c_str(), 0xFFFFFFFF, 0, 1);
126126
}
127-
else
128-
{
129-
130-
break;
131-
}
132127
return 0;
133128
}
134129

byond-extools/src/core/find_functions.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,8 @@ bool Core::find_functions()
103103
if (ByondVersion > 513)
104104
{
105105
FIND_OR_DIE(GetStringTableIndexUTF8, "55 8B EC 8B 45 ?? 83 EC ?? 53 56 8B 35 ?? ?? ?? ??");
106-
break;
107-
}
108-
{
109-
else break;
110106
}
111-
|
112-
if (failed) return false;
107+
if (failed) return false;
113108
int offset = *(int *)((char *)TopicFloodCheck + 0x2C);
114109
GetBSocket = (GetBSocketPtr)((char *)TopicFloodCheck + 0x2C + offset + 4); //done this way because pattern scanning would result in a different function
115110

0 commit comments

Comments
 (0)