mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-24 19:55:11 -06:00
Fix processor bug
This commit is contained in:
parent
bec7aea014
commit
7974edd381
@ -350,6 +350,11 @@ BeginStateMachine
|
||||
SetState(kstProcessorPutMiner);
|
||||
} else {
|
||||
lbError:
|
||||
// The miner spot was reserved while the gob was being built. Since the new
|
||||
// miner wasn't created, clear the spot so other miners can use the processor.
|
||||
|
||||
Assert(m_pstruc->ctx == 3 && m_pstruc->cty == 2);
|
||||
gsim.GetLevel()->GetTerrainMap()->ClearFlags(TcFromWc(m_wx) + 1, TcFromWc(m_wy) + m_pstruc->cty, 1, 1, kbfStructure);
|
||||
SetState(kstIdle);
|
||||
}
|
||||
Activate();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user