diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-27 01:24:34 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-27 01:24:34 +0000 |
commit | 3633262bf2d8db0dd3bd51370826120371aac4a0 (patch) | |
tree | c5ae0b332226049181786cbbd3d13515d2cd2491 /src/common/mmo.h | |
parent | ad74cd5605eb1d0d4e774216dd62b471a9721cbe (diff) | |
download | hercules-3633262bf2d8db0dd3bd51370826120371aac4a0.tar.gz hercules-3633262bf2d8db0dd3bd51370826120371aac4a0.tar.bz2 hercules-3633262bf2d8db0dd3bd51370826120371aac4a0.tar.xz hercules-3633262bf2d8db0dd3bd51370826120371aac4a0.zip |
- Changed status_point/skill_point to unsigned short. Adjusted the code as necessary to prevent overflows.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5762 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index ab9fd6dd7..99fb76c40 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -181,7 +181,7 @@ struct mmo_charstatus { int zeny;
short class_;
- short status_point,skill_point;
+ unsigned short status_point,skill_point;
int hp,max_hp,sp,max_sp;
short option,manner;
unsigned char karma;
|