diff options
Diffstat (limited to 'src/subgame.h')
-rw-r--r-- | src/subgame.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subgame.h b/src/subgame.h index 8c21973ea..6e7863962 100644 --- a/src/subgame.h +++ b/src/subgame.h @@ -50,7 +50,7 @@ struct SubgameSpec bool isValid() const { - return (id != "" && path != ""); + return (!id.empty() && !path.empty()); } }; @@ -89,7 +89,7 @@ struct WorldSpec bool isValid() const { - return (name != "" && path != "" && gameid != ""); + return (!name.empty() && !path.empty() && !gameid.empty()); } }; |