summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-27 01:24:34 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-27 01:24:34 +0000
commit3633262bf2d8db0dd3bd51370826120371aac4a0 (patch)
treec5ae0b332226049181786cbbd3d13515d2cd2491 /src/common/mmo.h
parentad74cd5605eb1d0d4e774216dd62b471a9721cbe (diff)
downloadhercules-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.h2
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;