summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2011-01-05 23:55:39 +0100
committerStefan Beller <stefanbeller@googlemail.com>2011-01-05 23:55:39 +0100
commitcaf3727fe15e92cb8d66b1f4e48e45f0a38d2508 (patch)
treef1de4733a0a2cf22fbbf1dc4cc4996aa57a27ad0 /src
parent705f81523f8b6e0c91eff0317f13547fbd1ea669 (diff)
downloadtmwa-caf3727fe15e92cb8d66b1f4e48e45f0a38d2508.tar.gz
tmwa-caf3727fe15e92cb8d66b1f4e48e45f0a38d2508.tar.bz2
tmwa-caf3727fe15e92cb8d66b1f4e48e45f0a38d2508.tar.xz
tmwa-caf3727fe15e92cb8d66b1f4e48e45f0a38d2508.zip
adding the USE_ASTRAL_SOUL_SKILL define
adding a define, so magic is done another way. I reviewed that stuff which is included by these changes, and it seems as if fate did a good job with that. trivial change.
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 11cd864..2c423e2 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -36,6 +36,9 @@
#define PVP_CALCRANK_INTERVAL 1000 // PVP���ʌv�Z�̊Ԋu
+//define it here, since the ifdef only occurs in this file
+#define USE_ASTRAL_SOUL_SKILL
+
#define STATE_BLIND 0x10
#ifdef USE_ASTRAL_SOUL_SKILL
@@ -4177,7 +4180,7 @@ int pc_setpos (struct map_session_data *sd, char *mapname_org, int x, int y,
sd->to_x = x;
sd->to_y = y;
- // moved and changed dance effect stopping
+ // moved and changed dance effect stopping
sd->bl.x = x;
sd->bl.y = y;
@@ -5751,7 +5754,7 @@ int pc_resetstate (struct map_session_data *sd)
// New statpoint table used here - Dexity
sd->status.status_point = atoi (statp[sd->status.base_level - 1]);
-// End addition
+// End addition
// Removed by Dexity - old count
// add += sumsp(sd->status.str);
@@ -9042,7 +9045,7 @@ int pc_logout (struct map_session_data *sd) // [fate] Player logs out
if (sd->sc_data[SC_POISON].timer != -1)
sd->status.hp = 1; // Logging out while poisoned -> bad
- /*
+ /*
* Trying to rapidly sign out/in or switch characters to avoid a spell's
* cast time is also bad. [remoitnane]
*/