summaryrefslogtreecommitdiffstats
path: root/src/core/timebars.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:16:02 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-09-29 17:16:02 +0200
commiteeb26cfc7db1b010e9b9373f6f3f5bce3f2240fa (patch)
tree7acbf1c23a85e572f7bd4d537319de5f01581f86 /src/core/timebars.cpp
parentFix build (if -> ifdef) (diff)
downloadre3-eeb26cfc7db1b010e9b9373f6f3f5bce3f2240fa.tar
re3-eeb26cfc7db1b010e9b9373f6f3f5bce3f2240fa.tar.gz
re3-eeb26cfc7db1b010e9b9373f6f3f5bce3f2240fa.tar.bz2
re3-eeb26cfc7db1b010e9b9373f6f3f5bce3f2240fa.tar.lz
re3-eeb26cfc7db1b010e9b9373f6f3f5bce3f2240fa.tar.xz
re3-eeb26cfc7db1b010e9b9373f6f3f5bce3f2240fa.tar.zst
re3-eeb26cfc7db1b010e9b9373f6f3f5bce3f2240fa.zip
Diffstat (limited to 'src/core/timebars.cpp')
-rw-r--r--src/core/timebars.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/timebars.cpp b/src/core/timebars.cpp
index 6b841a5c..7aaa04e6 100644
--- a/src/core/timebars.cpp
+++ b/src/core/timebars.cpp
@@ -50,7 +50,7 @@ void tbInit()
#endif
}
-void tbStartTimer(int32 unk, char *name)
+void tbStartTimer(int32 unk, const char *name)
{
strcpy(TimerBar.Timers[TimerBar.count].name, name);
TimerBar.Timers[TimerBar.count].unk = unk;
@@ -58,7 +58,7 @@ void tbStartTimer(int32 unk, char *name)
TimerBar.count++;
}
-void tbEndTimer(char* name)
+void tbEndTimer(const char* name)
{
uint32 n = 1500;
for (uint32 i = 0; i < TimerBar.count; i++) {