Breaking one-line conditionals
[open-adventure.git] / score.c
diff --git a/score.c b/score.c
index 1e4e5c2d4e81acdb9e9a98d3ee15aa7b52db2895..718314b0a32b2a7fb200b3d64ad0531503bf4c77 100644 (file)
--- a/score.c
+++ b/score.c
@@ -41,8 +41,10 @@ long score(enum termination mode)
             continue;
         if (objects[i].inventory != 0) {
             long k = 12;
-            if (i == CHEST)k = 14;
-            if (i > CHEST)k = 16;
+            if (i == CHEST)
+                k = 14;
+            if (i > CHEST)
+                k = 16;
             if (game.prop[i] >= 0)
                 score += 2;
             if (game.place[i] == LOC_BUILDING && game.prop[i] == 0)
@@ -62,9 +64,11 @@ long score(enum termination mode)
     if (mode == endgame)
         score += 4;
     mxscor += 4;
-    if (game.dflag != 0)score += 25;
+    if (game.dflag != 0)
+        score += 25;
     mxscor += 25;
-    if (game.closng)score += 25;
+    if (game.closng)
+        score += 25;
     mxscor += 25;
     if (game.closed) {
         if (game.bonus == 0)