mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/Scorched3D: Fixed patch line endings.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
2c41e9fb08
commit
baf9ccc73e
1 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue