summaryrefslogtreecommitdiffstats
path: root/src/modelinfo
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modelinfo/ClumpModelInfo.h4
-rw-r--r--src/modelinfo/VehicleModelInfo.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modelinfo/ClumpModelInfo.h b/src/modelinfo/ClumpModelInfo.h
index d491bdb9..100aa30b 100644
--- a/src/modelinfo/ClumpModelInfo.h
+++ b/src/modelinfo/ClumpModelInfo.h
@@ -4,14 +4,14 @@
struct RwObjectNameIdAssocation
{
- char *name;
+ const char *name;
int32 hierId;
uint32 flags;
};
struct RwObjectNameAssociation
{
- char *name;
+ const char *name;
RwFrame *frame;
};
diff --git a/src/modelinfo/VehicleModelInfo.cpp b/src/modelinfo/VehicleModelInfo.cpp
index 19100d84..87f01177 100644
--- a/src/modelinfo/VehicleModelInfo.cpp
+++ b/src/modelinfo/VehicleModelInfo.cpp
@@ -1038,7 +1038,7 @@ CVehicleModelInfo::SetEnvironmentMap(void)
void
CVehicleModelInfo::LoadEnvironmentMaps(void)
{
- char *texnames[] = {
+ const char *texnames[] = {
"reflection01", // only one used
"reflection02",
"reflection03",