# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -4398,7 +4398,9 @@
k = 0;
for( i = 0; i < j; i++ ) { // Loop should always be 4 for regular players, but unconditional_skill could be less
- switch( sc->data[spheres[i]]->val1 ) {
+ struct status_change_entry *sce = sc->data[spheres[i]];
+ if(sce == NULL) continue;
+ switch( sce->val1 ) {
case WLS_FIRE: subskill = WL_TETRAVORTEX_FIRE; k |= 1; break;
case WLS_WIND: subskill = WL_TETRAVORTEX_WIND; k |= 4; break;
case WLS_WATER: subskill = WL_TETRAVORTEX_WATER; k |= 2; break;