summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsrc/mrsun.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mrsun.cpp b/src/mrsun.cpp
index a62c723..6a5e871 100755
--- a/src/mrsun.cpp
+++ b/src/mrsun.cpp
@@ -89,9 +89,12 @@ int daMrSun_c::onCreate() {
else { // It's a moon
hasGlow = false;
- nw4r::g3d::ResFile rf(getResource("bilikyu", "g3d/bilikyu.brres"));
- bodyModel.setup(rf.GetResMdl("bilikyu"), &allocator, 0x224, 1, 0);
+ nw4r::g3d::ResFile rf(getResource("bilikyu", "g3d/moon.brres"));
+ bodyModel.setup(rf.GetResMdl("Moon"), &allocator, 0x224, 1, 0);
SetupTextures_Map(&bodyModel, 0);
+
+ glowModel.setup(rf.GetResMdl("MoonGlow"), &allocator, 0x224, 1, 0);
+ SetupTextures_Map(&glowModel, 0);
}
allocator.unlink();