mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[qwaq] Pass the correct selector when listeners respond
This is actually an old bug in qwaq that was masked by v6p progs parameter passing: it was just luck that event got put in the correct parameter and not trampled until the responder saw it. Ruamoko progs, however, simply lost the event entirely because it never got explicitly passed by the listener implementation.
This commit is contained in:
parent
ab8692bd96
commit
f4b81d30b0
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@
|
|||
|
||||
-(void)respond: (void *) caller_data withObject:(void *)anObject
|
||||
{
|
||||
[listeners makeObjectsPerformSelector: @selector (respond:)
|
||||
[listeners makeObjectsPerformSelector: @selector (respond:withObject:)
|
||||
withObject: caller_data
|
||||
withObject: anObject];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue