MantisBT - Zandronum
View Issue Details
0000492Zandronum[All Projects] Bugpublic2011-06-12 16:072011-06-13 09:47
CommanderZ 
 
normalminoralways
closedsuspended 
MicrosoftWindowsXP/Vista/7
98d 
 
0000492: CheckActorClass always returns false
ACS function CheckActorClass is supposed to return true when actor with passed TID has the same class as the passed string. However it does seem to always return false.

The attached file has ACS with following code:

#library "RGH_ACS"
#include "zcommon.acs"

script 1 ENTER {
    delay(25);
    log(b:CheckActorClass(0,"DoomPlayer"));
}

It always prints 0 in Skulltag, ZDoom correctly prints 1.

The same happens with monsters.
Open attached WAD with any Doom IWAD.
No tags attached.
? RGH-debug-skulltag.pk3 (287) 2011-06-12 16:07
/tracker/file_download.php?file_id=366&type=bug
Issue History
2011-06-12 16:07CommanderZNew Issue
2011-06-12 16:07CommanderZFile Added: RGH-debug-skulltag.pk3
2011-06-13 09:47Torr SamahoNote Added: 0001783
2011-06-13 09:47Torr SamahoStatusnew => closed
2011-06-13 09:47Torr SamahoResolutionopen => suspended
2012-06-09 13:22Torr SamahoCategoryGeneral => Bug

Notes
(0001783)
Torr Samaho   
2011-06-13 09:47   
This function was added to ZDoom in revision 1915 and thus is not available in Skulltag yet. So it's not a bug but a missing feature.