• X xray-15
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 7
    • Задачи 7
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 0
    • Запросы на слияние 0
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • OpenXRay
  • xray-15
  • Запросы на слияние
  • !20

Fixed controller roars persisting into loaded savegames

  • Ревью изменений

  • Скачать
  • Почтовые патчи
  • Простое отличие
Слиты xottab-duty запросил слияние github/fork/Decane/controller в xd_dev Апр 03, 2019
  • Обзор 1
  • Коммиты 1
  • Конвейеры 0
  • Изменения 3

Created by: Decane

Per my comment in https://github.com/Decane/SRP/issues/46:

  • In xrGame\ai\monsters\controller\controller.cpp, we have:
void CController::net_Destroy()
{
	inherited::net_Destroy();

	m_aura->on_death	();
	FreeFromControl		();
}
  • CControllerAura::on_death() in xrGame\ai\monsters\controller\controller_psy_aura.cpp just calls m_effector->switch_off() and then nullifies pointer m_effector. But it doesn't actually terminate the looped controller roar sounds if they are playing when CController::net_Destroy() is called.

The changes introduced here should fix the problem by forcing an immediate termination of any playing controller roar sounds when CController::net_Destroy() is called, so that they don't persist into the subsequently loaded session.

I have tried to conform as closely as possible to GSC's coding style.

Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: github/fork/Decane/controller