FreeBSD Bugzilla – Attachment 221656 Details for
Bug 252758
games/minetest: apply upstream patch to fix errors from falling nodes and more
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to games/minetest
games_minetest.diff (text/plain), 1.48 KB, created by
Sean Farley
on 2021-01-17 00:34:49 UTC
(
hide
)
Description:
Patch to games/minetest
Filename:
MIME Type:
Creator:
Sean Farley
Created:
2021-01-17 00:34:49 UTC
Size:
1.48 KB
patch
obsolete
>Index: files/patch-aba8c3753162320c7cc8a66913ad82f4f1fd0d8b >=================================================================== >--- files/patch-aba8c3753162320c7cc8a66913ad82f4f1fd0d8b (nonexistent) >+++ files/patch-aba8c3753162320c7cc8a66913ad82f4f1fd0d8b (working copy) >@@ -0,0 +1,23 @@ >+From aba8c3753162320c7cc8a66913ad82f4f1fd0d8b Mon Sep 17 00:00:00 2001 >+From: SmallJoker <mk939@ymail.com> >+Date: Thu, 30 Jul 2020 19:03:48 +0200 >+Subject: [PATCH] Falling: Fix error caused by missing param2 >+ >+Falling nodes that were spawned prior the recent falling node changes did not require param2. >+Default to param2 = 0 when none is found in the node data. >+--- >+ builtin/game/falling.lua | 1 + >+ 1 file changed, 1 insertion(+) >+ >+diff --git builtin/game/falling.lua builtin/game/falling.lua >+index 714506a5f1b..4bfcca9e774 100644 >+--- builtin/game/falling.lua >++++ builtin/game/falling.lua >+@@ -52,6 +52,7 @@ core.register_entity(":__builtin:falling_node", { >+ floats = false, >+ >+ set_node = function(self, node, meta) >++ node.param2 = node.param2 or 0 >+ self.node = node >+ meta = meta or {} >+ if type(meta.to_table) == "function" then > >Property changes on: files/patch-aba8c3753162320c7cc8a66913ad82f4f1fd0d8b >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252758
: 221656