aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/action.h
diff options
context:
space:
mode:
authorMatthew Stewart2018-07-23 22:53:10 -0400
committerEugene Sandulenko2018-08-09 08:37:30 +0200
commitfe98dbb69d1f8222eeb391111f59670658b0daad (patch)
treefdd8c33cb65529082f698e08e9d1a86d7cdc05e8 /engines/startrek/action.h
parentaa68655742c94026c701dafc1ef6efb032774434 (diff)
downloadscummvm-rg350-fe98dbb69d1f8222eeb391111f59670658b0daad.tar.gz
scummvm-rg350-fe98dbb69d1f8222eeb391111f59670658b0daad.tar.bz2
scummvm-rg350-fe98dbb69d1f8222eeb391111f59670658b0daad.zip
STARTREK: Reformat with artistic style
Diffstat (limited to 'engines/startrek/action.h')
-rw-r--r--engines/startrek/action.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/startrek/action.h b/engines/startrek/action.h
index 3ae507e836..4b8409e718 100644
--- a/engines/startrek/action.h
+++ b/engines/startrek/action.h
@@ -60,8 +60,12 @@ struct Action {
byte b3;
// ACTION_USE, ACTION_GET, ACTION_LOOK, ACTION_TALK
- byte activeObject() const { return b1; }
- byte passiveObject() const { return b2; }
+ byte activeObject() const {
+ return b1;
+ }
+ byte passiveObject() const {
+ return b2;
+ }
bool operator==(const Action &a) const {
return type == a.type && b1 == a.b1 && b2 == a.b2 && b3 == a.b3;