Skip to content

Commit

Permalink
Update onlineThings2.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnTW committed Dec 26, 2024
1 parent fb46e82 commit 695d436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2TWEOP Code/M2TWEOP library/onlineThings2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace battleCreator
}
genJson["name"] = genName;

int age = (gen->characterRecord->age >> 3) & 0x7f;
int age = gen->characterRecord->getAge();
genJson["index"] = gen->characterRecord->index;
genJson["age"] = age;
genJson["faction"] = gen->characterRecord->faction->factionRecord->facName;
Expand Down

0 comments on commit 695d436

Please sign in to comment.