summaryrefslogtreecommitdiff
path: root/src/mrsun.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mrsun.cpp')
-rwxr-xr-xsrc/mrsun.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mrsun.cpp b/src/mrsun.cpp
index ebc33db..86c5bfb 100755
--- a/src/mrsun.cpp
+++ b/src/mrsun.cpp
@@ -4,6 +4,11 @@
#include "boss.h"
+const char* MSarcNameList [] = {
+ "mrsun",
+ NULL
+};
+
class daMrSun_c : public dEn_c {
int onCreate();
int onDelete();
@@ -167,7 +172,7 @@ int daMrSun_c::onCreate() {
if ((this->settings & 0xF) == 0) { // It's a sun
hasGlow = true;
- nw4r::g3d::ResFile rf(getResource("bilikyu", "g3d/sun.brres"));
+ nw4r::g3d::ResFile rf(getResource("mrsun", "g3d/sun.brres"));
bodyModel.setup(rf.GetResMdl("Sun"), &allocator, 0x224, 1, 0);
SetupTextures_Map(&bodyModel, 0);
@@ -178,7 +183,7 @@ int daMrSun_c::onCreate() {
else { // It's a moon
hasGlow = false;
- nw4r::g3d::ResFile rf(getResource("bilikyu", "g3d/moon.brres"));
+ nw4r::g3d::ResFile rf(getResource("mrsun", "g3d/moon.brres"));
bodyModel.setup(rf.GetResMdl("Moon"), &allocator, 0x224, 1, 0);
SetupTextures_Map(&bodyModel, 0);
}