aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2018-08-02 01:35:24 +0200
committerDaniel Schadt <kingdread@gmx.de>2018-08-02 01:35:24 +0200
commit2ac9d19ef91545a43dfde2bbdd986090695454d1 (patch)
treed9c44b1c81a10fe79ec534a34ec4bd09979d1739 /src/event.rs
parent49d369b83b9529ad0d7723e5c34d612f1ad32e8f (diff)
downloadevtclib-2ac9d19ef91545a43dfde2bbdd986090695454d1.tar.gz
evtclib-2ac9d19ef91545a43dfde2bbdd986090695454d1.tar.bz2
evtclib-2ac9d19ef91545a43dfde2bbdd986090695454d1.zip
add more wing 1 mechanics
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index 0e83660..4d25a9f 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -200,7 +200,9 @@ impl Event {
reward_type: raw_event.value,
},
// XXX: implement proper handling of those events!
- CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity => return None,
+ CbtStateChange::BuffInitial | CbtStateChange::Position | CbtStateChange::Velocity => {
+ return None
+ }
CbtStateChange::None => if let Some(kind) = check_activation(raw_event) {
kind