Fix voodoo dolls being always visible in the minimap.

This commit is contained in:
Mari the Deer 2021-03-19 18:43:47 +01:00
commit 431049106c
4 changed files with 5 additions and 5 deletions

View file

@ -381,7 +381,7 @@ SWWM_MISSTAB = "Mission";
SWWM_STATTAB = "Stats";
SWWM_STATTAB0 = "General";
SWWM_STATTAB1 = "Kills";
SWWM_STATTAB2 = "Mission";
SWWM_STATTAB2 = "Levels";
SWWM_STATTAB3 = "Achievements";
SWWM_NOSTAT = "(no stats available)";
SWWM_STATUPTIME = "Uptime: ";

View file

@ -378,7 +378,7 @@ SWWM_MISSTAB = "Misión";
SWWM_STATTAB = "Estadísticas";
SWWM_STATTAB0 = "General";
SWWM_STATTAB1 = "Bajas Enemigas";
SWWM_STATTAB2 = "Misión";
SWWM_STATTAB2 = "Niveles";
SWWM_STATTAB3 = "Logros";
SWWM_NOSTAT = "(estadísticas no disponibles)";
SWWM_STATUPTIME = "Tiempo Activo: ";

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r372 \cu(Fri 19 Mar 17:14:33 CET 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r372 \cu(2021-03-19 17:14:33)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r373 \cu(Fri 19 Mar 18:43:47 CET 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r373 \cu(2021-03-19 18:43:48)\c-";

View file

@ -226,7 +226,7 @@ extend Class SWWMHandler
continue;
if ( !a.player && !a.bSOLID && !a.bSHOOTABLE && !a.bISMONSTER && !a.bFRIENDLY && !(a is 'Inventory') && !(a is 'Chancebox') )
continue;
if ( !thesight && !a.IsFriend(players[consoleplayer].mo) && !players[consoleplayer].Camera.CheckSight(a,SF_IGNOREVISIBILITY|SF_IGNOREWATERBOUNDARY) )
if ( !thesight && !(a.IsFriend(players[consoleplayer].mo) && !(a.player && (a.player.mo != a))) && !players[consoleplayer].Camera.CheckSight(a,SF_IGNOREVISIBILITY|SF_IGNOREWATERBOUNDARY) )
continue;
if ( a.bKILLED || (a.Health <= 0) )
continue;