summaryrefslogtreecommitdiffhomepage
path: root/src/ent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ent.c')
-rw-r--r--src/ent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ent.c b/src/ent.c
index 8dcb1f1..6329152 100644
--- a/src/ent.c
+++ b/src/ent.c
@@ -69,10 +69,10 @@ static struct CEntityFactoryDictionary *entfactorydict = 0;
static inline bool find_entfactorydict(con_cmdcb dumpentityfactories_cb) {
const uchar *insns = (const uchar *)dumpentityfactories_cb;
for (const uchar *p = insns; p - insns < 64;) {
- // the call to EntityFactoryDictionary() is inlined. that returns a
- // static, which is lazy-inited (trivia: this was old MSVC, so it's not
- // threadsafe like C++ requires nowadays). for some reason the init flag
- // is set using OR, and then the instance is put in ECX to call the ctor
+ // EntityFactoryDictionary() is inlined, and returns a static, which is
+ // lazy-inited (trivia: this was old MSVC, so it's not thread-safe like
+ // C++ requires nowadays). for some reason the init flag is set using
+ // OR, and then the instance is put in ECX to call the ctor
if (p[0] == X86_ORMRW && p[6] == X86_MOVECXI && p[11] == X86_CALL) {
entfactorydict = mem_loadptr(p + 7);
return true;