[Scummvm-git-logs] scummvm master -> 74220cc04d651603724bc76c84dd637e45b3f995
mgerhardy
martin.gerhardy at gmail.com
Thu Feb 18 22:57:27 UTC 2021
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:
74220cc04d TWINE: fixed warnings
Commit: 74220cc04d651603724bc76c84dd637e45b3f995
https://github.com/scummvm/scummvm/commit/74220cc04d651603724bc76c84dd637e45b3f995
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-02-18T23:57:22+01:00
Commit Message:
TWINE: fixed warnings
Changed paths:
engines/twine/scene/gamestate.cpp
diff --git a/engines/twine/scene/gamestate.cpp b/engines/twine/scene/gamestate.cpp
index 828f268e06..46019d73fb 100644
--- a/engines/twine/scene/gamestate.cpp
+++ b/engines/twine/scene/gamestate.cpp
@@ -297,10 +297,10 @@ void GameState::setGameFlag(uint8 index, uint8 value) {
if (index == 209) {
_engine->unlockAchievement("LBA_ACH_010");
}
- if (index == (int)InventoryItems::kiUseSabre) {
+ if (index == (uint8)InventoryItems::kiUseSabre) {
_engine->unlockAchievement("LBA_ACH_002");
}
- if (index == (int)InventoryItems::kBottleOfSyrup) {
+ if (index == (uint8)InventoryItems::kBottleOfSyrup) {
_engine->unlockAchievement("LBA_ACH_007");
}
}
More information about the Scummvm-git-logs
mailing list