summaryrefslogtreecommitdiff
path: root/src/topman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/topman.cpp')
-rw-r--r--src/topman.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/topman.cpp b/src/topman.cpp
index 42527e2..edf75dd 100644
--- a/src/topman.cpp
+++ b/src/topman.cpp
@@ -3,6 +3,11 @@
#include <g3dhax.h>
#include <sfx.h>
+const char* TMarcNameList [] = {
+ "topman",
+ NULL
+};
+
class daTopman : public dEn_c {
int onCreate();
int onDelete();
@@ -300,7 +305,7 @@ int daTopman::onCreate() {
// Model creation
allocator.link(-1, GameHeaps[0], 0, 0x20);
- this->resFile.data = getResource("ben", "g3d/begoman_spike.brres");
+ this->resFile.data = getResource("topman", "g3d/begoman_spike.brres");
nw4r::g3d::ResMdl mdl = this->resFile.GetResMdl("begoman");
bodyModel.setup(mdl, &allocator, 0x224, 1, 0);
SetupTextures_Map(&bodyModel, 0);