diff options
-rw-r--r-- | games/Scorched3D/gcc.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/games/Scorched3D/gcc.patch b/games/Scorched3D/gcc.patch index d97aeeb8945b..622c28a2fa17 100644 --- a/games/Scorched3D/gcc.patch +++ b/games/Scorched3D/gcc.patch @@ -1,11 +1,11 @@ --- scorched/src/common/weapons/AccessoryStore.cpp.orig 2017-07-07 22:27:57.777261322 +0700 +++ scorched/src/common/weapons/AccessoryStore.cpp 2017-07-07 22:39:34.368313611 +0700 @@ -156,7 +156,7 @@ - Accessory *parent, XMLNode *currentNode) - { - XMLNode *typeNode = 0; -- if (!currentNode->getNamedParameter("type", typeNode)) return false; -+ if (!currentNode->getNamedParameter("type", typeNode)) return 0; - - AccessoryPart *accessoryPart = - AccessoryMetaRegistration::getNewAccessory(typeNode->getContent(), this); + Accessory *parent, XMLNode *currentNode)
+ {
+ XMLNode *typeNode = 0;
+- if (!currentNode->getNamedParameter("type", typeNode)) return false;
++ if (!currentNode->getNamedParameter("type", typeNode)) return 0;
+
+ AccessoryPart *accessoryPart =
+ AccessoryMetaRegistration::getNewAccessory(typeNode->getContent(), this);
|