Ebenezer: Remove redundant CUser::RunNpcEvent() (#727)

  • Konuyu Başlatan Konuyu Başlatan twostars
  • Başlangıç tarihi Başlangıç tarihi
  • Öne çıkan
T

twostars

Ebenezer: Remove redundant CUser::RunNpcEvent() (#727)

This is basically just CUser::RunEvent() with the NPC pointer passed in.
RunEvent() also handles the outer loop, where RunNpcEvent() is expected to be run
in a loop.

Other than that, the only real difference is RunNpcEvent() doesn't handle EXEC_SAVE_COM_EVENT
but there's no real functional reason for that.

Regardless, RunNpcEvent() isn't even a thing in the official 1.298 binaries; they're shared there.

Github Commit Görüntüle...
See Commints...

..
 

Similar threads

T
Cevaplar
0
Görüntüleme
15
twostars
T
T
Cevaplar
0
Görüntüleme
22
twostars
T
T
Cevaplar
0
Görüntüleme
11
twostars
T
T
Cevaplar
0
Görüntüleme
28
twostars
T
T
Cevaplar
0
Görüntüleme
24
twostars
T
Geri
Üst