mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Initialize AI morale to normal instead of hopeless (#345)
This commit is contained in:
@@ -419,6 +419,7 @@ SOLDIERCREATE_STRUCT::~SOLDIERCREATE_STRUCT() {
|
||||
// Note that the constructor does this automatically.
|
||||
void SOLDIERCREATE_STRUCT::initialize() {
|
||||
memset( this, 0, SIZEOF_SOLDIERCREATE_STRUCT_POD);
|
||||
this->bAIMorale = MORALE_NORMAL;
|
||||
Inv.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user