This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
17 lines
177 B
C++
17 lines
177 B
C++
#include "stdafx.h"
|
|
|
|
#include "Team.h"
|
|
|
|
bool Team::isAlliedTo(Team *other)
|
|
{
|
|
if (other == NULL)
|
|
{
|
|
return false;
|
|
}
|
|
if (this == other)
|
|
{
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|