Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/eodata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void ENF::Read(const std::string& filename)
newdata.evade = PacketProcessor::Number(buf[22], buf[23]);
newdata.armor = PacketProcessor::Number(buf[24], buf[25]);

newdata.exp = PacketProcessor::Number(buf[36], buf[37]);
newdata.exp = PacketProcessor::Number(buf[36], buf[37], buf[38]);

if (std::fread(static_cast<void *>(&namesize), sizeof(char), 1, fh) != 1)
{
Expand Down
2 changes: 1 addition & 1 deletion src/eodata.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ template <class ENF> struct ENF_Data_Base
short vendor_id;

int hp;
unsigned short exp;
int exp;
short mindam;
short maxdam;

Expand Down