summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-05 19:49:38 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-05 19:49:38 +0000
commit0fb0df3a0fa3ac24f9f068d0c1ac664beec03354 (patch)
treedb71917a103760aab874f5ff37c4546f0124d04f /src/map/status.c
parentb6e528890886089169555661a769fc14361dddb0 (diff)
downloadhercules-0fb0df3a0fa3ac24f9f068d0c1ac664beec03354.tar.gz
hercules-0fb0df3a0fa3ac24f9f068d0c1ac664beec03354.tar.bz2
hercules-0fb0df3a0fa3ac24f9f068d0c1ac664beec03354.tar.xz
hercules-0fb0df3a0fa3ac24f9f068d0c1ac664beec03354.zip
- Corrected SC_INTRAVISION not starting.
- Small cleanups (line terminators, indenting) - Fixed crash when attempting to read a Label as a string on a script (thanks to End of Exam) - Fixed possible crash when changing a chat-room's owner (thanks to End of Exam) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8639 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index b55773e23..65fcf8f12 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5561,9 +5561,11 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
if (map[bl->m].flag.pvp)
tick /=2;
break;
+ case SC_INTRAVISION:
case SC_ARMOR_ELEMENT:
- break; // It just change the armor element of the player (used by battle_attr_fix)
- // So it has no SCB and no skill associated (used by potion scripts)
+ //Place here SCs that have no SCB_* data, no skill associated, no ICON
+ //associated, and yet are not wrong/unknown. [Skotlex]
+ break;
default:
if (calc_flag == SCB_NONE &&
StatusSkillChangeTable[type]==0 &&