[Scummvm-git-logs] scummvm master -> f5a2313091edc53e107769b57cc0fb8439867de1
Strangerke
noreply at scummvm.org
Tue Jan 14 08:00:34 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f5a2313091 GOT: Remove two more useless assignments
Commit: f5a2313091edc53e107769b57cc0fb8439867de1
https://github.com/scummvm/scummvm/commit/f5a2313091edc53e107769b57cc0fb8439867de1
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2025-01-14T09:00:27+01:00
Commit Message:
GOT: Remove two more useless assignments
Changed paths:
engines/got/game/object.cpp
diff --git a/engines/got/game/object.cpp b/engines/got/game/object.cpp
index 3a40e1fcc8a..f3fc9ca6d06 100644
--- a/engines/got/game/object.cpp
+++ b/engines/got/game/object.cpp
@@ -84,12 +84,10 @@ void pick_up_object(int p) {
return;
}
play_sound(GULP, false);
- s = 1;
add_health(5);
break;
case 6: // Bad apple
play_sound(OW, false);
- s = 1;
add_health(-10);
break;
case 7: // Key (reset on exit)
More information about the Scummvm-git-logs
mailing list