ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[ACS] SetActivatorToTarget() is broken

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs
View previous topic :: View next topic  
Author Message
rhinoduck
Potatoes


Joined: 22 Oct 2012

PostPosted: Sun Dec 04, 2016 4:37 pm    Post subject: [ACS] SetActivatorToTarget() is broken Reply with quote

Neither SetActivatorToTarget nor SetActivator with the AAPTR_PLAYER_GETTARGET pointer selector work in ZDaemon when trying to set the activator to the thing under player's cross hair.

Tested with setactivatortotarget.wad; load it and do 'puke 1 your_player_number'; it should log the x coordinate of the thing the player aims at or nothing if he aims at nothing. Works as expected in ZDoom 2.8.1; continuously prints the player's x coordinate in ZDaemon 1.10b07 (i.e. the player instead of his target is erroneously set as the activator and the function always returns success).
Back to top
View user's profile Send private message
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Mon Jan 29, 2018 10:23 pm    Post subject: Reply with quote

Fixed. Thanks rhino for the wad.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group