diff options
author | shennetsind <ind@henn.et> | 2013-06-06 18:19:17 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-06 18:19:17 -0300 |
commit | 3ffefa50cd02dee25b8fca450be1a20c4647aa15 (patch) | |
tree | fbe7c223ba402f59e16482ba0429d0882dafaca8 /src/map/npc.c | |
parent | f754643911ebb19eb68fb7b6ad1a864b02d111a8 (diff) | |
download | hercules-3ffefa50cd02dee25b8fca450be1a20c4647aa15.tar.gz hercules-3ffefa50cd02dee25b8fca450be1a20c4647aa15.tar.bz2 hercules-3ffefa50cd02dee25b8fca450be1a20c4647aa15.tar.xz hercules-3ffefa50cd02dee25b8fca450be1a20c4647aa15.zip |
Follow up f754643911ebb19eb68fb7b6ad1a864b02d111a8
Special Thanks to lighta for pointing out an issue with that.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 23a3b3d84..4e1e79808 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -303,8 +303,7 @@ int npc_event_dequeue(struct map_session_data* sd) if (!sd->eventqueue[0][0]) return 0; //Nothing to dequeue - if (!pc_addeventtimer(sd,100,sd->eventqueue[0])) - { //Failed to dequeue, couldn't set a timer. + if (!pc_addeventtimer(sd,100,sd->eventqueue[0])) { //Failed to dequeue, couldn't set a timer. ShowWarning("npc_event_dequeue: event timer is full !\n"); return 0; } |