diff --git a/Source/items.cpp b/Source/items.cpp index e05d89a80..040e7c501 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -303,7 +303,7 @@ void CalcPlrItemVals(int p, BOOL Loadgfx) int iflgs = 0; // item_special_effect flags - int sadd = 0; // added stregth + int sadd = 0; // added strength int madd = 0; // added magic int dadd = 0; // added dexterity int vadd = 0; // added vitality diff --git a/Source/msg.cpp b/Source/msg.cpp index 4b3cd2fa8..c9a361ea8 100644 --- a/Source/msg.cpp +++ b/Source/msg.cpp @@ -109,7 +109,7 @@ void msg_free_packets() int msg_wait_for_turns() { - int recieved; + int received; DWORD turns; if (!sgbDeltaChunks) { @@ -123,7 +123,7 @@ int msg_wait_for_turns() multi_process_network_packets(); nthread_send_and_recv_turn(0, 0); if (nthread_has_500ms_passed(0)) - nthread_recv_turns(&recieved); + nthread_recv_turns(&received); if (gbGameDestroyed) return 100; diff --git a/Source/multi.cpp b/Source/multi.cpp index 25b6c1491..284adc4df 100644 --- a/Source/multi.cpp +++ b/Source/multi.cpp @@ -301,7 +301,7 @@ void multi_net_ping() int multi_handle_delta() { - int i, recieved; + int i, received; if (gbGameDestroyed) { gbRunGame = FALSE; @@ -316,13 +316,13 @@ int multi_handle_delta() } sgbSentThisCycle = nthread_send_and_recv_turn(sgbSentThisCycle, 1); - if (!nthread_recv_turns(&recieved)) { + if (!nthread_recv_turns(&received)) { multi_begin_timeout(); return FALSE; } sgbTimeout = FALSE; - if (recieved) { + if (received) { if (!gbShouldValidatePackage) { NetSendHiPri(0, 0); gbShouldValidatePackage = FALSE; diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index cd5c858ae..eeb91620b 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -51,7 +51,7 @@ void __fastcall drlg_l1_load_dun(char *dun_path, int view_x, int view_y); ### Interactive Disassembler Usage -* Open the `Diablo.exe` (verison 1.09b in IDA) and wait for it to finish +* Open the `Diablo.exe` (version 1.09b in IDA) and wait for it to finish analysis * Open as "Portable Executable" * Processor type i386 (80386) diff --git a/structs.h b/structs.h index 6c9481d6d..b9b4f8a89 100644 --- a/structs.h +++ b/structs.h @@ -501,11 +501,11 @@ typedef struct MonsterData { char mAi; int mFlags; unsigned char mInt; - unsigned char mHit; // BUGFIX: Some monsters overflow this value on high dificulty + unsigned char mHit; // BUGFIX: Some monsters overflow this value on high difficulty unsigned char mAFNum; unsigned char mMinDamage; unsigned char mMaxDamage; - unsigned char mHit2; // BUGFIX: Some monsters overflow this value on high dificulty + unsigned char mHit2; // BUGFIX: Some monsters overflow this value on high difficulty unsigned char mAFNum2; unsigned char mMinDamage2; unsigned char mMaxDamage2;