ref: e8c7daca358ab5a54ad240786a2fcf6f4db61bf4
parent: 06e65cad6e0d09d7259b5162d00d1af716bec9fc
author: Gabriel Ravier <gabravier@gmail.com>
date: Fri Jun 14 04:37:49 EDT 2019
Reverted capitalization of struct member names Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
--- a/src/NpcTbl.cpp
+++ b/src/NpcTbl.cpp
@@ -38,46 +38,46 @@
}
#ifdef NONPORTABLE
- for (n = 0; n < num; n++) // Bits
+ for (n = 0; n < num; n++) // bits
fread(&gNpcTable[n].bits, 2, 1, fp);
- for (n = 0; n < num; n++) // Life
+ for (n = 0; n < num; n++) // life
fread(&gNpcTable[n].life, 2, 1, fp);
- for (n = 0; n < num; n++) // Surf
+ for (n = 0; n < num; n++) // surf
fread(&gNpcTable[n].surf, 1, 1, fp);
- for (n = 0; n < num; n++) // Destroy_voice
+ for (n = 0; n < num; n++) // destroy_voice
fread(&gNpcTable[n].destroy_voice, 1, 1, fp);
- for (n = 0; n < num; n++) // Hit_voice
+ for (n = 0; n < num; n++) // hit_voice
fread(&gNpcTable[n].hit_voice, 1, 1, fp);
- for (n = 0; n < num; n++) // Size
+ for (n = 0; n < num; n++) // size
fread(&gNpcTable[n].size, 1, 1, fp);
- for (n = 0; n < num; n++) // Exp
+ for (n = 0; n < num; n++) // exp
fread(&gNpcTable[n].exp, 4, 1, fp);
- for (n = 0; n < num; n++) // Damage
+ for (n = 0; n < num; n++) // damage
fread(&gNpcTable[n].damage, 4, 1, fp);
- for (n = 0; n < num; n++) // Hit
+ for (n = 0; n < num; n++) // hit
fread(&gNpcTable[n].hit, 4, 1, fp);
- for (n = 0; n < num; n++) // View
+ for (n = 0; n < num; n++) // view
fread(&gNpcTable[n].view, 4, 1, fp);
#else
- for (n = 0; n < num; n++) // Bits
+ for (n = 0; n < num; n++) // bits
gNpcTable[n].bits = File_ReadLE16(fp);
- for (n = 0; n < num; n++) // Life
+ for (n = 0; n < num; n++) // life
gNpcTable[n].life = File_ReadLE16(fp);
- for (n = 0; n < num; n++) // Surf
+ for (n = 0; n < num; n++) // surf
fread(&gNpcTable[n].surf, 1, 1, fp);
- for (n = 0; n < num; n++) // Destroy_voice
+ for (n = 0; n < num; n++) // destroy_voice
fread(&gNpcTable[n].destroy_voice, 1, 1, fp);
- for (n = 0; n < num; n++) // Hit_voice
+ for (n = 0; n < num; n++) // hit_voice
fread(&gNpcTable[n].hit_voice, 1, 1, fp);
- for (n = 0; n < num; n++) // Size
+ for (n = 0; n < num; n++) // size
fread(&gNpcTable[n].size, 1, 1, fp);
- for (n = 0; n < num; n++) // Exp
+ for (n = 0; n < num; n++) // exp
gNpcTable[n].exp = File_ReadLE32(fp);
- for (n = 0; n < num; n++) // Damage
+ for (n = 0; n < num; n++) // damage
gNpcTable[n].damage = File_ReadLE32(fp);
- for (n = 0; n < num; n++) // Hit
+ for (n = 0; n < num; n++) // hit
fread(&gNpcTable[n].hit, 4, 1, fp);
- for (n = 0; n < num; n++) // View
+ for (n = 0; n < num; n++) // view
fread(&gNpcTable[n].view, 4, 1, fp);
#endif