mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 03:27:45 +00:00
Ports: Update Super-Mario's patches to use git patches
This commit is contained in:
parent
6eb071cd0d
commit
cbd76e0531
7 changed files with 117 additions and 41 deletions
|
@ -0,0 +1,50 @@
|
|||
From 452f2ace4ba87e7d2e07a46adf4abdfb8970317d Mon Sep 17 00:00:00 2001
|
||||
From: Manuel Palenzuela <manuelpalenzuelamerino@gmail.com>
|
||||
Date: Sun, 4 Apr 2021 00:41:48 +0200
|
||||
Subject: [PATCH 4/5] Fix a header include path
|
||||
|
||||
---
|
||||
src/FireBall.cpp | 4 ++--
|
||||
src/Map.h | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/FireBall.cpp b/src/FireBall.cpp
|
||||
index 6f3eacc..6f5eade 100644
|
||||
--- a/src/FireBall.cpp
|
||||
+++ b/src/FireBall.cpp
|
||||
@@ -1,4 +1,4 @@
|
||||
-#include "FireBall.h"
|
||||
+#include "Fireball.h"
|
||||
#include "Core.h"
|
||||
#include <math.h>
|
||||
|
||||
@@ -68,4 +68,4 @@ void FireBall::updateXPos() {
|
||||
|
||||
void FireBall::collisionWithPlayer(bool TOP) {
|
||||
CCore::getMap()->playerDeath(true, false);
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
diff --git a/src/Map.h b/src/Map.h
|
||||
index b812b49..f6abbb9 100644
|
||||
--- a/src/Map.h
|
||||
+++ b/src/Map.h
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "Flower.h"
|
||||
#include "Lakito.h"
|
||||
#include "Spikey.h"
|
||||
-#include "FireBall.h"
|
||||
+#include "Fireball.h"
|
||||
#include "Fire.h"
|
||||
#include "Pipe.h"
|
||||
#include "Spring.h"
|
||||
@@ -406,4 +406,4 @@ public:
|
||||
void setInEvent(bool inEvent);
|
||||
};
|
||||
|
||||
-#endif
|
||||
\ No newline at end of file
|
||||
+#endif
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue