mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
13 lines
323 B
C++
13 lines
323 B
C++
#include "GoalType.h"
|
|
|
|
void GoalType::set_methods(int n) {
|
|
if (m_method_count_set) {
|
|
if (m_method_count != n) {
|
|
printf("Type %s had %d methods, set_methods tried to change it to %d\n", m_name.c_str(),
|
|
m_method_count, n);
|
|
}
|
|
} else {
|
|
m_method_count = n;
|
|
m_method_count_set = true;
|
|
}
|
|
} |