mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-01 00:41:16 +00:00
Fix Mumble compile
This commit is contained in:
parent
2372c11735
commit
934e983769
1 changed files with 2 additions and 2 deletions
|
|
@ -1350,7 +1350,7 @@ static void I_SetupMumble(void)
|
|||
if(shmfd < 0)
|
||||
return;
|
||||
|
||||
mumble = mmap(NULL, sizeof(*mumble), PROT_READ | PROT_WRITE, MAP_SHARED, shmfd, 0);
|
||||
mumble = static_cast<mumble_s*>(mmap(NULL, sizeof(*mumble), PROT_READ | PROT_WRITE, MAP_SHARED, shmfd, 0));
|
||||
if (mumble == MAP_FAILED)
|
||||
mumble = NULL;
|
||||
#endif
|
||||
|
|
@ -1366,7 +1366,7 @@ void I_UpdateMumble(const mobj_t *mobj, const listener_t listener)
|
|||
return;
|
||||
|
||||
if(mumble->uiVersion != 2) {
|
||||
wcsncpy(mumble->name, L"Dr. Robotnik's Ring Racers "VERSIONSTRINGW, 256);
|
||||
wcsncpy(mumble->name, L"Dr. Robotnik's Ring Racers " VERSIONSTRINGW, 256);
|
||||
wcsncpy(mumble->description, L"Dr. Robotnik's Ring Racers with integrated Mumble Link support.", 2048);
|
||||
mumble->uiVersion = 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue