diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2018-03-18 14:54:16 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2018-03-18 14:54:16 +0100 |
| commit | 4af9d50a92fcfb5ef8dd0aefd959a790bfe6655b (patch) | |
| tree | 7d415dd35780f9c24eb3a7bc0de1c06ccc373a2a | |
| parent | 1f39a1cc3caa318807586d74a8f8b34adbdb1371 (diff) | |
| download | System.c4g-4af9d50a92fcfb5ef8dd0aefd959a790bfe6655b.tar.gz System.c4g-4af9d50a92fcfb5ef8dd0aefd959a790bfe6655b.zip | |
DTCallback: Handle plain string callbacks in CallA as fast callbacks in the current object context
This yields similar behaviour to the engine intern Call and thus to the overloaded Call
| -rw-r--r-- | DTCallback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DTCallback.c b/DTCallback.c index f95ff92..eef0877 100644 --- a/DTCallback.c +++ b/DTCallback.c @@ -50,7 +50,7 @@ global func CallA(callback, args, bool safe, array refs) { if(GetType(callback) == C4V_String) { - callback = [this, callback]; + callback = [this, callback, true]; } if(GetType(callback) != C4V_Array) |
